[PHP-WIN] Help with mysql rowpointer

2001-08-22 Thread Lars Eirik Rønning
Hey there. I realize this is a forum for php-windows users,but knowing that most of you guys run a mysql db as backend i have a question for you.. I know there is a way to return the amount of records in the db by using the mysql_num_rows($resultid). My problem is that it only returns the total n

[PHP-WIN] Difference between loadmodule and scriptalias

2001-05-14 Thread Lars Eirik Rønning
I was wondering if somone could give me a quick explanation on the difference between the loadmodule and the scriptalias when you set up php with Apache. As far i know i have both included in my configuration file.. Thanks alot Lars -- PHP Windows Mailing List (http://www.php.net/) To unsubscr

[PHP-WIN] Storing images as references in a database

2001-04-16 Thread lars Eirik Rønning
Hi there.Until now i have successfully store my images as blob in mysql . However I have seen that many others choose another aproach that is storing only the image reference. I have tried this ,but I have yet to accomplish this. All the example i have seen are based on unix /linux OS which mea

[PHP-WIN] headers

2001-04-12 Thread lars Eirik Rønning
I was wondering if anyone knows about any good links to both email headers as well as document headers to be used with a php script. Mime types would also be appreciated Thanks Lars E

[PHP-WIN] saving images which have been assigned a strange name

2001-04-08 Thread Lars Eirik Rønning
I have a problem . I have posted this earlier as well ,but no one seems to be able to help me but here i go again. I retrieve my images from a mysql db , but whenever i want to save the image it has been assigned a name identical to my php page (without the extension though) eg. If you click on

[PHP-WIN] Looping through records and finding the next

2001-04-07 Thread Lars Eirik Rønning
Is there a way to use count a recordset in php. I realize ASP has a seperate object which is called recorset and then you can run thruogh all the records before it reaches the end I have successfully done this with while looping through the record. Is there a way to say that the next page should

[PHP-WIN] Date function

2001-03-28 Thread Lars Eirik Rønning
Hi there. I wonder how i can use the date function to end up with the following format dd.mm. eg:17.05.2001 I am not sure how to insert this in a mysql database as a date field Thanks -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

[PHP-WIN] save as _> unable to retrieve the file_name of the image

2001-03-19 Thread Lars Eirik Rønning
Hi there. I wonder if anyone know why i cannot retrieve the file name of an image file when i get the image from a datbase. I have an image stored in the database(mysql) and i also store its filename when uploaded. However when i ouput the file on the website and somone wants to save this image --

[PHP-WIN] Php and email problems with localhost

2001-03-14 Thread Lars Eirik Rønning
Is it possible to use the localhost on a w2k computer by specifying the localhost as smtp. I am running with is server and it should have an inbuild smtp server ,but i am unable to use the mail function. I have tried this with apache as well, but as it comes with no smtp server i thought it would