Forums Page 17
-
Encrypt php code?
Is it possible to encrypt php code in files, so that it displays a load of unreadable characters rather than readable code that could be leeched…
-
[function.file]: failed to open stream: No such file or directory
Okay I wrote this little script to upload a csv file that is located on my webhosts server to a mysql database. Something is wrong because I am…
-
a function to check directory depth
I'm working on a php script to upload files in to a set directory. the user can select to upload into the "upload" directory or any of its…
-
foreach iterator
Hi Guys Does the foreach loop have an inbuilt iterator ?
-
Validating time
Hi Guys what do you think of the following approach to validate a 24hour time: http://snipplr.com/view/23007/validate-time/ Are there any better…
-
Strange cookie problem. setcookie dependant on where user was directed from?
Hello, I have a website that sets a cookie when a user visits the website. The cookie holds an ID number that I have decided to refer to Computer…
- Advertisement
-
Echoing ASCII code
I have a php page that splits a string into chars and then echoes the ASCII code for each char. I'm trying to get it print the original value =>…
-
do while conditions
i want to display 6 images in a 2x3 table now what would be the correct logic to count that there are 6 images results and if there are more than 6…
-
Calander Basic Spript help
hi, just starting out with PHP and have the following script: <?php //This gets today's date $date =time () ; //This puts the day, month, and year…
-
Probably Easy, Need help with Check Boxes in PHP Code
hello, Thanks for looking this over and helping me out. My problem is I have a online store locator database and whats happening is I keep getting an…
-
Print out contents of to Excel
I have got this script that gathers all the data that I need but I need it to send it to excel instead back to the screen in the web browser. How can…
-
Please help understand this code
I noticed the index page on my site was modified this morning and found this code inserted at the bottom of the page: Code…
-
why aint this working?
i have this code: Code: $num = 250; $count = ($num - $rcount); echo $rcount; echo " "; echo $count; when i echo $rcount it gives me 153... so my…
-
need help with this contact form
I made this form and I need it to read the data and write the data to a table and its not working can someone please help me and show me what I have…
- Advertisement
-
Looking for help on using joining mysql tables and php....
Does anyone have any good links to references on how to pull mysql data, through joining tables and how one can use php to handle the results? I need…
-
Need Successful Return
Hello I am currently working a form here, and I have everything figured out except when I click the return button from my preview view. the…
-
Unexpected T_Variable ?
Hi all, I dont really know what I am doing!! I know I'm doing something wrong, and I know its on line 42 "$sql="select pname, award, aw_year" but I…
-
Convert .fdf to .pdf
I currently have a web form that uploads the form data to an .fdf file and emails it. However, I just realized that most people I email it to cannot…
-
Quick variable question
hey guys/gals, im trying to write a php script and it works fine as i have it, but i need to set it to where it pulls the var from mysql table that…
-
elseif help!
OK so I'm new to the site, as well as PHP altogether (Trying my hand at managing an online RPG) and so far it's been quite smooth. However whilst…