Forums Page 7
-
PHP4 to PHP5 Conversion
Hi Everyone, I am working on a site that is built up on PHP4 and each page is being started from <? instead of <?php as of PHP5. I want to…
-
Progress bar tracking file downloads
Hey guys, was wondering if there was a way to track how far a file has been downloaded. I know there is a way to track uploading with APC and php 5.2…
-
Progress bar tracking file downloads
Hey guys, was wondering if there was a way to track how far a file has been downloaded. I know there is a way to track uploading with APC and php 5.2…
-
Access website from only 1 computer...?
One of my customers wants his website to only be accessed by people in which they bought the website membership from on their computer. He's afraid…
-
Generate multilayered array from string.
ok so i have a string that looks like this: Code: blog:edit_all,delete_all|users:edit_all,delete_all|settings and i want to make a code that can take…
-
Read from forum
Haven't written anything forever and I would like to get back. What I'm trying to do is getting the data from all the threads in a sub forum. Can…
- Advertisement
-
Procedural to OOP
John Kleijn said that to avoid writing "crappy code", we should learn OOP and common OO principles. I've started reading OOP tutorials including the…
-
How do I get the row number from from an sql table query
Hi all I have a table that I query and it returns a number of rows. mysql_num_rows($query) = $total I want to have next and previous buttons, is…
-
phpMailer not working ..........
HI, I was playing with the phpMailer script and tried to send a smiple mail using their test script from my site ..... it said "send again" but i am…
-
Why do I get this error?
Error: Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in…
-
grouping within a foreach?
hello all, I currently have a list of products spit out from my db via a foreach loop. Right now I am styling these as a <li> I want to style…
-
question about stripslashes and real_escape_string
im cleaning up an old app that I wrote fixing some of the vulernabilities from attacks. I have roughly 30 files. I want to be able to edit every…
-
small inaccuracies
I have this code to convert fractional base 10 into base 2: while($num > 0) { echo "<tr><td>". $num." * 2 = </td><td>"…
-
Limiting uploaded file type
Hi. First post here I am working on a simple upload script, and I need it to limit the allowed file type that is uploaded to only .mpr files. .mpr…
- Advertisement
-
PHP & Java
Hello, can PHP code be used inside java code? Code: <SCRIPT LANGUAGE="JavaScript"> OpenWindow.document.write("<?php echo NotWorking; ?>")…
-
mySQL and PHP search
Hello, I am trying to code a project and ran into a brick wall with one of my pages. I am pretty new at php/mySQL and can not figure this out. Now I…
-
JSON SORT WITH PHP
I have two products that I want to sort by say "Id:17, value: xxx" using php The page will end up looking like this Part Number Diameter Effective…
-
Code error with Index.php
Error: Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/runevid/public_html/index.php on line 25 <html>…
-
Error In Syntax
I got this error: Code: Parse error: syntax error, unexpected '>' in /home/bucket/public_html/inc/func.ban.php on line 56 <?php…
-
TemplatePower & AJAX
Hi all, I'm currently implementing some AJAX features in my PHP-framework (which is based on TemplatePower) and I have encountered a problem: I have…