Forums Page 53
-
getting weird error..
okay, I'm getting an error on this particular function, something about the syntax in the mysql LIMIT statement, but as far as I can see I have it…
-
private constructor
Hello, Can we create a constructor as private? If yes, what is the use of it? If no, why can't we make it? Please suggest... Thanks
-
Database 'Validation'
Hi everyone, I'm trying to validate the password entered by the user with the password in the database. I've worked out that it checks the username…
-
image upload, resize THEN submit form
Ok so I have a form that requires the user to upload an image, and then do something with that image (using some ajax scripts), then fill out the…
-
Get last modified date of web page
Hai All, In php how can i get last modified date of a give web page . I have tried to get last modified from the header but for some pages the server…
-
Wierd echo error?
Hi, i got the most wierd php error ever and i don't know why.. Code: echo "<td><strong>MP:</strong></td>"; echo "<td>"…
- Advertisement
-
strptime() equivalent for php4 ?!
Greetings! this is my first post, thank you in advance for your replies. Well, the title says it all, is there an equivalent of the function…
-
PHP - HTTP Digest Authentication - Understanding Code Help
Hi Everyone, This is my first time on your website and please excuse if I am asking silly question. I have a question about PHP HTTP DIGEST…
-
values not being entered into table
hi. I;ve created a form, so that when a user enters data into it, it gets added to a table in a database. the form submits some data to one table…
-
Keeping track of php uploads
Hello all. I was looking at the way PHP handles file uploads. It seems that PHP uses a temporarily directory and file name for file uploads. e.g…
-
How to display objects in a row
I have 7 codes that i want to display in a row one next to another. The first is {$ads->ads_display('1')}, the second {$ads->ads_display('2')}…
-
Force download script not handling files with spaces properly
I have a regular old php force download script, uses this code: Code: header("Cache-Control: "); header("Pragma: "); header("Content-type…
-
Writing to the middle of a file
Hi I have a bit of a problem. Is there any way i can write some text to a middle of a text file. For instance on line 20? I know how to write text to…
-
PayPal Redirect Issue
When I have my paypal button set so that is redirects to http://empiremarketing.ca/order.php,it works just fine. But when I change the redirect URL…
- Advertisement
-
file downloaded can't be read !!
<?php $fileName = 'mypic.jpg'; $mimeType = 'image/jpeg'; header('content-disposition: attachment; filename=' . $fileName); header('content-type: '…
-
Generate PDF
Hi guys, I would like to know if there is a way to generate pdf when clicking on a link. In fact, I would like to be able to click on a link and…
-
pagination - need help on passing of search query.
Hi, i have been trying for days but couldn't get this sorted out. Would like some professional help here. Basically I got a basic pagination script…
-
Help with form post data and arrays
Hi all, I am new to this forum... It has been awhile since i have worked with arrays, and i am starting to pull my hair out with this little issue i…
-
Select all entries from database that include a phrase
I have a database of clubs - one of the categories is meeting time and place I would like to have a page that looks something like this: Monday…
-
PHP webpage & array print issue
I have this code running, and it works perfectly … however, see my bottom bit about what I see when I view source, versus what I want to see … I…