Forums
-
Image DPI
Hi. I allow users to upload images, the user then is able to adjust several settings for the image: - Image quality (10 - 100) - watermark…
-
Check Date/Time in PHP
What I need the code to check is that $reQuest is 24 hours in the past then return a time based on how long ago that was in the past if 24 hours has…
-
Beginner PHP code help
Hi I'm new to php but if someone could please read the question below and help it would be great. a)create an html page to enter a row number (1-6)…
-
Wordpress IE issue
So I am trying to add the background shadow to my wordpress page. It works fine in Firefox but does not in IE. So here is the original code: <?php…
-
PHP IMAGE UPLOAD SCRIPT
Hi for the last week i have been looking for scripts that will upload a photo to a certain folder which i can then change the name of it but however…
-
function to return url
Hi, Can you guys help me giving a function that takes all the contents in a particular field and returns text and url seperately... For instance, Go…
- Advertisement
-
form problem
below in the form action, i've put "test.php?w=$sw&h=$sh" but when i input the form i get this.. test.php?search=example&submit=search how do…
-
Linked Keywords
I am trying to get a script that makes my predefined keyword converted to links and / or converted to a certain color, size and so on... In one of…
-
How do i use vars in an array
Hiya peeps! How do I use a var in an array. You will see $id but it isnt working. array('MAINCONTENT' => '<div id="registration"><form…
-
Forum tutorial
Im a beginner in PHP. Im making a forum(previous questbook, counter and few others) to learn. For now I know something. I started making the forum…
-
post to self
Trying to get my form to submit to itself. However I am also trying to use an image for my submit button, when I set the type='image' it will not…
-
Renaming a file that a user uploads to site?
My site allows for registered users to upload images to the site under their own gallery. Currently it just leaves the file named as however the…
-
Mysql error message
help me find out what this error message means: "Duplicate entry '0' for key 'PRIMARY'" the sql for it is Code: INSERT INTO accounts (firstname…
-
Multiple forms on the same page (safari)
Hello everyone, I have 3 forms on the same page, that opens in a new window and submits to a php file, this works great in IE8 but I can not get it…
- Advertisement
-
question about header() security
is is safe to just use the header() function to redirect someone if they are, say, not logged in? or should i always put a die() function underneath…
-
How to store checkbox array in a session, and then be able to add to it?
I'm trying to store an array of checkbox values into a session array, sort of like a shopping cart, but I can't figure out how to not overwrite the…
-
Reading Most Recent CSV File in Directory
I thought I had wrapped this project up, but found out that the program I use to FTP a csv file to my website is best used in time stamp mode. That…
-
using file_get_contents??
okay how would i create a script using file_get_contents() in php have it grab search pages 1-20 and return the results based on whatever username…
-
PHP using IF to display error
i have a MySQL query and i want to display 1 thing only if the number of affected rows is >=1 and if not then display the error, here is what i…
-
remove trailing slash from array
I have the following array which contains trailing slashes I need to remove. What is the best way to accomplish this? Array ( [Field1] => A…