[PHP] Re: the function of the @ symbol?

2003-11-04 Thread PHP Webmaster
Joffrey L Leevy [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi all: I have been searching through several books to find out what the @ character represents. An example used in code: if (@$first == no). Could anyone please explain the function of @ in the code?

Re: [PHP] verify my ISP

2003-11-04 Thread PHP Webmaster
John Taylor-Johnston [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] How can I verify if my ISP really does have PHP on a server I am using. They say if I want PHP, I must pay an extra $15 per month. Is there somehting I can put in my .htaccess to verify and maybe do this?

Re: [PHP] Read a file, extract and echo some information

2003-10-21 Thread PHP Webmaster
Chris W. Parker [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] PHP Webmaster mailto:[EMAIL PROTECTED] on Monday, October 20, 2003 4:36 PM said: As you can see, the above code will not work as the $title variable has not been set yet. So, I need a way of opening up the home.php

[PHP] Read a file, extract and echo some information

2003-10-20 Thread PHP Webmaster
Hi all, I have a little dilemma on my hands that I can't seem to solve. Iv'e looked through the PHP Manual at the fread(), fgets(), fopen(), file() etc functions which I beleive are capabile of what I want to do, but I just can't seem to peice it all together. Anyway, the following code is

Re: [PHP] Session not getting destroyed !

2003-10-17 Thread PHP Webmaster
Binay [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Yes its showing 0 only.. Its a weird kind of problem for me .. - Original Message - From: David Otton [EMAIL PROTECTED] To: Binay [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Friday, October 17, 2003 4:16 PM

Re: [PHP] using ImageGIF

2003-10-17 Thread PHP Webmaster
Louie Miranda [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] And here's the error [Fri Oct 17 10:52:20 2003] [error] PHP Fatal error: Call to undefined function: imagegif() in /Volumes/WWW_Root/louie/test.php on line 6 -- - Louie Miranda http://www.axishift.com -

[PHP] Re: Detecting devices i.e. PDA, Mobile

2003-10-11 Thread PHP Webmaster
Shaun [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, I have created an online system, and have created a WAP version, and am currently crreating a PDA version. What I wuold like to to do is give out the same URL instead of domain.com for normal use, domain.com/wap/ or

[PHP] Search for an exact string inside of another string

2003-10-11 Thread PHP Webmaster
Hi all, I have a little problem that I hope you can help me with. I have the following strings: $str1 = Bob; $str2 = My Name Is Bob; How can I get PHP to look for $str1 inside of $str2? Also, what about if Bob inside of $str2 is in different places? I would like something like: if ($str1 IS

[PHP] Re: Search for an exact string inside of another string

2003-10-11 Thread PHP Webmaster
Manuel VáZquez Acosta [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Try: if (strpos($str2, $str1) !== false) echo $str1 is inside $str2; else echo could not find $str1 inside $str2; Php Webmaster [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi all

[PHP] Re: method to prevent multiple logons of same account

2003-10-06 Thread PHP Webmaster
Chris W. Parker [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi. Ok I've got the logging in of customer accounts settled but what I need to work into the system is that of preventing more than one instance of the same account. If I logon right now as testuser1 on ComputerA and then

Re: [PHP] method to prevent multiple logons of same account

2003-10-06 Thread PHP Webmaster
Marek Kilimajer [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] This has been discused several times befor and the conclusion is that these obstructions are wrong. What if the user loses its credentials and he is still considered loged in. He cannot log in again. If you bind the

[PHP] Wrapping code inside [code]xxx[/code] tags.

2003-10-06 Thread PHP Webmaster
Hi all, I have on my site a part where users' can submit articles and no doubt their articles will contain code. Code is wrapped inside of [code] tags, i.e. [code]?php echo hi; ?[/code] However, there is other text in the same article, so I need to format the code inside of the [code] and

[PHP] .htaccess - Still asking for login information although already sent through address bar

2003-10-06 Thread PHP Webmaster
Hi all, Iv'e got a .htaccess file protecting a site using HTTPS. I have tried using a form to send the login details to the site through the address bar (http://user:[EMAIL PROTECTED]) but the .htaccess password protection box still appears asking for the username and password! The only thing I

[PHP] Re: .htaccess - Still asking for login information although already sent through address bar

2003-10-06 Thread PHP Webmaster
Php Webmaster [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi all, Iv'e got a .htaccess file protecting a site using HTTPS. I have tried using a form to send the login details to the site through the address bar (http://user:[EMAIL PROTECTED]) but the .htaccess password

Re: [PHP] .htaccess - Still asking for login information although already sent through address bar

2003-10-06 Thread PHP Webmaster
Mika Tuupola [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Mon, 6 Oct 2003, PHP Webmaster wrote: Iv'e got a .htaccess file protecting a site using HTTPS. I have tried using a form to send the login details to the site through the address bar (http://user:[EMAIL PROTECTED

Re: [PHP] .htaccess - Still asking for login information although already sent through address bar

2003-10-06 Thread PHP Webmaster
, redirect you to the subdomain and then prompt you again. Nathan - Original Message - From: Mika Tuupola To: PHP Webmaster Cc: [EMAIL PROTECTED] Sent: Monday, October 06, 2003 7:12 AM Subject: Re: [PHP] .htaccess - Still asking for login information although already sent through

Re: [PHP] .htaccess - Still asking for login information although already sent through address bar

2003-10-06 Thread PHP Webmaster
Jason Wong [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Tuesday 07 October 2003 00:32, PHP Webmaster wrote: If I use my login form, the login box pops up only once. If I copy the text from the address bar (generated by the form) and paste it into the address bar (after

Re: [PHP] date() is hours behind

2003-09-30 Thread PHP Webmaster
the correct Eastern Standard Time http://www.php.net/putenv ?php putenv('TZ=US/Eastern'); echo 'Last modified: ' . date('d/m/y H:i', getlastmod()); ? -- Jon Kriek http://phpfreaks.com Php Webmaster [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi

Re: [PHP] date() is hours behind

2003-09-30 Thread PHP Webmaster
Jon Kriek [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] putenv('TZ=Europe/London'); OR putenv('TZ=GMT'); -- Jon Kriek http://phpfreaks.com Php Webmaster [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I'm in London and and my timezone is GMT, so what should I

[PHP] date() is hours behind

2003-09-29 Thread PHP Webmaster
Hi all, I currently use: date(l jS F Y, g:i A); To format the current date/time to my personal preference. However, at 12:19 AM on my machine, date(l jS F Y, g:i A); shows 4:19PM... 8 hours slow :( Any ideas on how to correct this? Am I right in saying that there is a timezone problem? Any