RE: [PHP] parse error when requiring

2001-12-06 Thread Oosten, Sjoerd van
0 730 4817 ZH BREDA Telefax: (076) 5 877 757 ___ -Oorspronkelijk bericht- Van: Jon Farmer [mailto:[EMAIL PROTECTED]] Verzonden: donderdag 6 december 2001 16:49 Aan: Oosten, Sjoerd van; 'Andrew Forgue' CC: [EMAIL PROTECTED] Onderwerp: Re: [P

RE: [PHP] parse error when requiring

2001-12-06 Thread Oosten, Sjoerd van
8 Telefoon: (076) 5 730 730 4817 ZH BREDA Telefax: (076) 5 877 757 ___ -Oorspronkelijk bericht- Van: Andrew Forgue [mailto:[EMAIL PROTECTED]] Verzonden: donderdag 6 december 2001 16:13 Aan: Oosten, Sjoerd van CC: [EMAIL PROTECTED] Onderwerp: Re: [PHP] p

[PHP] parse error when requiring

2001-12-06 Thread Oosten, Sjoerd van
I have a question about require... I have a session_start() on top of every page and an if-else construction. Login == 1) { ?> On the bottom of every page This works fine, but now i made the files sessionstart.php and bottom.php sessionstart.php -- Login ==

[PHP] problem with urlencode

2001-11-29 Thread Oosten, Sjoerd van
Hi there, I have a problem putting through a variable which contains an & in the string. When the variabele is something like: click here the next file sees $name as rob instead of $name=rob & sjoerd i've tried the urlencode function but that doesn't work. Somebody, thanks ___

[PHP] session

2001-11-23 Thread Oosten, Sjoerd van
Hi, is it possible to make a session last longer? Thanks, Sjoerd van Oosten Digitaal vormgever [EMAIL PROTECTED] Datamex E-sites B.V. http://www.esites.nl Minervum 7368 Telefoon: (076) 5 730 730 4817 ZH BREDA Telefax: (076) 5 877 757 _

[PHP] SQL in Function

2001-11-22 Thread Oosten, Sjoerd van
Hello, im a newbie in writing functions but right now im trying to. I have made the following function // FUNCTION TO DECIDE WHETHER A PROJECT IS IN BETWEEN PROJECTBEGIN AND PROJECTEND , YES OR NO function Activeyesno($month,$day,$year,$Project_id){ $dayactief = mktime(0, 0, 0, $month, $day, $

RE: [PHP] Re: DATE Questions

2001-11-20 Thread Oosten, Sjoerd van
Fred thanks a lot, you really helped me out! Sjoerd van Oosten Digitaal vormgever [EMAIL PROTECTED] Datamex E-sites B.V. http://www.esites.nl Minervum 7368 Telefoon: (076) 5 730 730 4817 ZH BREDA Telefax: (076) 5 877 757 ___

RE: [PHP] Re: DATE Questions

2001-11-20 Thread Oosten, Sjoerd van
Of course i'm very interested! Greetings, Sjoerd van Oosten Digitaal vormgever [EMAIL PROTECTED] Datamex E-sites B.V. http://www.esites.nl Minervum 7368 Telefoon: (076) 5 730 730 4817 ZH BREDA Telefax: (076) 5 877 757 _

[PHP] DATE Questions

2001-11-20 Thread Oosten, Sjoerd van
Hello, I'm working on a project planning system and what i want to do is making a sort of table structure with an overview form today till a month later. All the projects that are between these dates must be viewed. Right now i have the following questions: - How can i determine how much days

RE: [PHP] Detecting IP address

2001-11-19 Thread Oosten, Sjoerd van
some loggings: $LogIp1 = getenv("REMOTE_ADDR"); $LogIpaddr = gethostbyaddr($LogIp1); $LogIpname = gethostbyname($LogIp1); $LogBrowser = $HTTP_USER_AGENT; $LogReferer = getenv("HTTP_REFERER"); Sjoerd van Oosten Digitaal vormgever [EMAIL PROTECTED] Datame

[PHP] link to a pdf file

2001-11-16 Thread Oosten, Sjoerd van
Hello, a question again. I have a pdf file which can be downloaded. How can i link to this file so, that the file isn't opened in the browser (if acrobat reader is installed) but the file download popup appears? Greetings, Sjoerd van Oosten Digitaal vo

[PHP] custom errors

2001-11-16 Thread Oosten, Sjoerd van
Hi, I know how to make an error message when the connection is lost with the database, with the @ and the OR DIE in the connection with the database. Is there also a way to display a custom error message when this error is displaid? "Warning: Supplied argument is not a valid MySQL result reso

[PHP] require or include

2001-11-15 Thread Oosten, Sjoerd van
Hello list, I'm just wandering what's better, require or include. Greetings, Sjoerd van Oosten Digitaal vormgever [EMAIL PROTECTED] Datamex E-sites B.V. http://www.esites.nl Minervum 7368 Telefoon: (076) 5 730 730 4817 ZH BREDA Telefax: (076) 5 877 75

[PHP] EREG_REPLACE?

2001-11-15 Thread Oosten, Sjoerd van
> Hello, ive got a problem > > I want to replace this string: > this must also be variable > > by: > > this must also be variable > > So the two tags should be placed before and after the link when a link is > in my $pagecontent > > I know it's easier to use another class, but for the moment

RE: [PHP] The url of the last site?

2001-11-15 Thread Oosten, Sjoerd van
You could process the form in the same file form action : and in the header of the page if ($Submit){ // YOUR ACTION HERE } Sjoerd van Oosten Digitaal vormgever [EMAIL PROTECTED] Datamex E-sites B.V. http://www.esites.nl Minervum 7368 Telefoon: (07

[PHP] %20

2001-11-14 Thread Oosten, Sjoerd van
Hello I just discovered a netscape 4.7 bug when sending a string. The variable cannot contain a space. So a string like this does not work in netscape 4.7 objectdetail.php?Bouw=variable&Object_type=normal&Street_type=normal street&. The variable Street_type doesn't get thro

RE: [PHP] Any easy way of finding "yesterday"...?

2001-11-13 Thread Oosten, Sjoerd van
$yesterday = mktime(0,0,0,date("m"),date("d") -1,date("Y")); Sjoerd van Oosten Digitaal vormgever [EMAIL PROTECTED] Datamex E-sites B.V. http://www.esites.nl Minervum 7368 Telefoon: (076) 5 730 730 4817 ZH BREDA Telefax: (076) 5 877 757 ___

[PHP] even or not

2001-11-13 Thread Oosten, Sjoerd van
Hello, How can is check with php wether a number is even or not? What i want is that in a while loop the background color of a cell changes! Thanks, Sjoerd van Oosten Digitaal vormgever [EMAIL PROTECTED] Datamex E-sites B.V. http://www.esites.nl Minerv

[PHP] anti-alias

2001-11-13 Thread Oosten, Sjoerd van
Hello, I have a little question about the GD-Lib. Is it possible to parse anti-aliassed text? This would be very interesting because anti-aliassed buttons are more beatiful! Thanks, Sjoerd van Oosten Digitaal vormgever [EMAIL PROTECTED] Datamex E-sites B

RE: [PHP] Using PHP for directory indexing

2001-11-12 Thread Oosten, Sjoerd van
\n"); // open directory $myDirectory = dir("."); // get each entry while($entryName = $myDirectory->read()) { print("$entryName \n"); } // close directory $myDirectory->close(); print("\n"); ?> ___

[PHP] Attachments again

2001-11-12 Thread Oosten, Sjoerd van
Hi, When i send a dynamic HTML newletter, which contains newsitems in the database I now send the e-mail with a link to the image on the webserver. What i would like to do is instead of linking the image, send the image as a sort of attachment. So an internetconnection is not required when viewin