Re: [PHP] HELP! I'm Desperate...

2003-08-19 Thread Curt Zirzow
* Thus wrote Jason Sheets ([EMAIL PROTECTED]): Why not go to a cybercafe every few days or once a week and check on the project? You can also go to Kinkos or your local library, most of them have internet enabled pcs. The library is good, plenty of reading material while waiting for a

Re: [PHP] help with email problem

2003-08-14 Thread Mike Morton
1. Find them. 2. Charge them. 3. Prove it was them. 4. Bomb the shit out of the country they used to spam from. 5. Salute the US flag. 6. Move to Canada 7. Comment on the stupid Americans pushing their morals on the rest of the world 8. Get Drunk 9. Watch Hockey 10. Enjoy life. I think

Re: [PHP] HELP about pull hair on this INSERT

2003-08-14 Thread John W. Holmes
Didier McGillis wrote: # MESSAGE: INSERT INTO group (id, bmenu, tmenu, parent, name, desc, g_desc, sort_order, status, image, mb, calendar) VALUES ('', '1', '1', '0', 'FBC Administrator', 'fdhsjfds jfdash', 'jhfdjs fjdsahfjksda hfjdsha

Re: [PHP] Help Please in using fopen in PHP

2003-08-14 Thread Jason Wong
On Monday 11 August 2003 18:23, [EMAIL PROTECTED] wrote: I am currently learning php and Mysql a scripting language and DB i just feel in love with. I am currently having problem in opening file to put data collected from clients when the purchase from an online shop. The scripts is as

Re: [PHP] help with email problem

2003-08-14 Thread Mike Morton
How does the legislation prevent that? As long as people publish their email addresses - they are public domain and will be treated as such - do you want to stop mass snail mailings mailings as well? As long as people publish their information it is going to be used/abused - that is the nature

Re: [PHP] help with email problem

2003-08-14 Thread Jackson Miller
On Tuesday 12 August 2003 5:33, Matt Giddings wrote: Is there anything that can be done about this? I'm about ready to unsubscribe from this PHP list due to that fact! If you are in the US you can call your Senator and offer your support of the CAN-SPAM bill (horrible name isn't it). It is

Re: [PHP] help with email problem

2003-08-14 Thread Curt Zirzow
* Thus wrote Jackson Miller ([EMAIL PROTECTED]): On Tuesday 12 August 2003 5:33, Matt Giddings wrote: Is there anything that can be done about this? I'm about ready to unsubscribe from this PHP list due to that fact! If you are in the US you can call your Senator and offer your support

RE: [PHP] help with email problem

2003-08-14 Thread Roger B.A. Klorese
From: Mike Morton [mailto:[EMAIL PROTECTED] How does the legislation prevent that? As long as people publish their email addresses - they are public domain and will be treated as such - do you want to stop mass snail mailings mailings as well? As long as people publish their information

RE: [PHP] help with email problem

2003-08-14 Thread Roger B.A. Klorese
Be real - the legislation is a waste of time and money and will never be enforced or enforcable. Too many 'anonymous' countries willing to take money for server hosting in the world. Yes, but they're taking money *from* American companies, for the most part. You don't have to punish the

RE: [PHP] help with email problem

2003-08-14 Thread Roger B.A. Klorese
and how will this be enforced. waste of legislation imo. The same way any law is: by filing criminal charges after the fact. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] HELP strip slashes ???

2003-08-14 Thread Chris Shiflett
--- Didier McGillis [EMAIL PROTECTED] wrote: I am doing an admin site for a person and their small site. I need to allow them to put in paragraphs of information. I am allowing them to put in some HTML like b, br, p a href= a very limited amout of tags. What is the best way to submit and then

Re: [PHP] [HELP] - Session_Unregister Not working

2003-08-14 Thread Jason Wong
On Wednesday 06 August 2003 04:33, Christopher J. Crane wrote: I can not get a variable in a session to unset() and then re-populate and it is destroyed. Please follow below to get the flow of what I am doing. When using header() to redirect you should always session_write_close() first. --

Re: [PHP] Help with Mod mathematical function

2003-08-14 Thread Groboski, Joshua
http://us4.php.net/math The operator you want is % Eg: 5%3 = 2 [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]... if you turn on --enable-bcmath, you can use de bcmod function equivalen to Mod operator from visual basic Un saludo, Danny Dean

Re: [PHP] HELP strip slashes ???

2003-08-11 Thread John W. Holmes
Didier McGillis wrote: Everyone, I am doing an admin site for a person and their small site. I need to allow them to put in paragraphs of information. I am allowing them to put in some HTML like b, br, p a href= a very limited amout of tags. What is the best way to submit and then show this

Re: [PHP] Help with Mod mathematical function

2003-08-07 Thread Jason Wong
On Wednesday 06 August 2003 18:19, Dean Baldwin wrote: I am porting a vb application across to php but have come up against a small problem. The code uses the Mod calculation however I cannot find any Mod in php. The line of code that uses it looks like: Data = (index Mod 16) Anybody have

Re: [PHP] Help with Mod mathematical function

2003-08-06 Thread desa15
if you turn on --enable-bcmath, you can use de bcmod function equivalen to Mod operator from visual basic Un saludo, Danny Dean

RE: [PHP] help with php

2003-07-29 Thread Chris W. Parker
Billy mailto:[EMAIL PROTECTED] on Tuesday, July 29, 2003 4:25 PM said: hi im new to php. but i need help with a form. ive made an html form but the thing is i needed it to send all the info from the boxes above to an e-mail. this is my first time with this type of web design could someone

Re: [PHP] Help with Apache

2003-07-26 Thread Curt Zirzow
* Thus wrote Corey Edwards @ Dreamstar Computer Software ([EMAIL PROTECTED]): I finally set up an Apache Web Server. I didn't realize you needed that to run php until now. Now, I have another question. I have it installed, but when I run a PHP script, it says it can't be found. Even when

RE: [PHP] Help with Apache

2003-07-26 Thread Mark Charette
-Original Message- From: Corey Edwards @ Dreamstar Computer Software I finally set up an Apache Web Server. I didn't realize you needed that to run php until now. That's only true if you need to serve Web pages; php runs fine from the command line ... -- PHP General Mailing List

RE: [PHP] help with explode.....

2003-07-25 Thread Joe Harman
SO COOL... Thanks too all -Original Message- From: Binay Agarwal [mailto:[EMAIL PROTECTED] Sent: Thursday, July 24, 2003 1:48 PM To: Joe Harman Cc: [EMAIL PROTECTED] Subject: Re: [PHP] help with explode. Okay... this probably isn't that hard to do... but I am just not sure

Re: [PHP] help with explode.....

2003-07-24 Thread Binay Agarwal
Okay... this probably isn't that hard to do... but I am just not sure to do it... so i will ask you guys... i amsure someone is going to have a one liner for me here! I am making a survey/poll builder everything is dynamic... there is an admin section where the user can make the new

RE: [PHP] help with ad serving

2003-07-22 Thread electroteque
Subject: Re: [PHP] help with ad serving * Thus wrote electroteque ([EMAIL PROTECTED]): hi there my next project at work is to build an ad server for both image and flash , i am storing each ad entry into a banner_ads table then another table media to store each of the banners into which links

Re: [PHP] help with ad serving

2003-07-22 Thread Curt Zirzow
. And also, what you wanted us to resolve for you was not very clearly stated. -Original Message- From: Curt Zirzow [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 22, 2003 6:39 AM To: Php-General Subject: Re: [PHP] help with ad serving * Thus wrote electroteque ([EMAIL PROTECTED

Re: [PHP] Help?

2003-07-21 Thread Ryan Gibson
See archive posts about register_globals which came in php 4.1 (I think) if you don't want to change your scripts you can turn off register_globals in the .htaccess or php.ini files On 21/7/03 10:34 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I installed apache1.3.12 as the web server and

Re: [PHP] Help with Date

2003-07-21 Thread John Manko
I'd settle for a function that will generate a date for this upcoming friday. ;) Elliot Tobin wrote: I need a function to create the dates of previous Fridays -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Help with Date

2003-07-21 Thread Jon Haworth
Hi Elliot, I need a function to create the dates of previous Fridays, in 21-JUL-2003 format. It'll be different depending on what you want to happen if you pass a Friday timestamp to the function, but it should be something like: function friday($ts) { while (date(w, $ts) != 5) $ts -=

Re: [PHP] Help with Date

2003-07-21 Thread Adam Voigt
Umm. echo(date('U',strtotime('next Friday'))); Notice the strtotime part. On Mon, 2003-07-21 at 09:25, John Manko wrote: I'd settle for a function that will generate a date for this upcoming friday. ;) Elliot Tobin wrote: I need a function to create the dates of previous Fridays

RE: [PHP] Help with Date

2003-07-21 Thread Ford, Mike [LSS]
-Original Message- From: Adam Voigt [mailto:[EMAIL PROTECTED] Sent: 21 July 2003 14:29 echo(date('U',strtotime('next Friday'))); Actually, for this upcoming Friday, that'd just be echo(date('U',strtotime('Friday'))); Slightly confusingly, 'next Friday' would be the Friday after

Re: [PHP] Help with Date

2003-07-21 Thread John Manko
Ha. Not what I have in mind. :) Adam Voigt wrote: Umm. echo(date('U',strtotime('next Friday'))); Notice the strtotime part. On Mon, 2003-07-21 at 09:25, John Manko wrote: I'd settle for a function that will generate a date for this upcoming friday. ;) Elliot Tobin wrote: I need a

Re: [PHP] Help with Date

2003-07-21 Thread John Manko
More like: echo(date('Jennifer Lopez',strtotime('next Friday'))); John Manko wrote: Ha. Not what I have in mind. :) Adam Voigt wrote: Umm. echo(date('U',strtotime('next Friday'))); Notice the strtotime part. On Mon, 2003-07-21 at 09:25, John Manko wrote: I'd settle for a function that

RE: [PHP] Help with Date

2003-07-21 Thread Ford, Mike [LSS]
-Original Message- From: Elliot Tobin [mailto:[EMAIL PROTECTED] Sent: 21 July 2003 14:08 I need a function to create the dates of previous Fridays, in 21-JUL-2003 format. I figure this has already been done, so I wanted to ask before I continued writing my own. Take a look

Re: [PHP] help with ad serving

2003-07-21 Thread Curt Zirzow
* Thus wrote electroteque ([EMAIL PROTECTED]): hi there my next project at work is to build an ad server for both image and flash , i am storing each ad entry into a banner_ads table then another table media to store each of the banners into which links to the banner , although in the created

Re: [PHP] Help with Date

2003-07-21 Thread Curt Zirzow
* Thus wrote Ford, Mike [LSS] ([EMAIL PROTECTED]): -Original Message- From: Adam Voigt [mailto:[EMAIL PROTECTED] Sent: 21 July 2003 14:29 echo(date('U',strtotime('next Friday'))); Actually, for this upcoming Friday, that'd just be

Re: [PHP] Help with Date

2003-07-21 Thread Curt Zirzow
* Thus wrote Adam Voigt ([EMAIL PROTECTED]): Umm. echo(date('U',strtotime('next Friday'))); I prefer: while(1) echo(date('U', strtotime('Saturday')); Curt -- I used to think I was indecisive, but now I'm not so sure. -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP] Help with UPDATE command...

2003-07-19 Thread John Manko
what error message are you getting? mysql_error() and mysql_errno() Tony Tzankoff wrote: Here is the code I am trying to implement... update table set col1=value where condition=true and condition=true order by col2 desc, col3 desc limit 1; The UPDATE command does not seem to support the ORDER

Re: [PHP] Help with UPDATE command...

2003-07-19 Thread Jon Haworth
Hi Tony, The UPDATE command does not seem to support the ORDER BY part despite it being listed in the instructions on the mysql.com website. This is only supported in versions 4 and above - if you're using 3.23 you can get away with LIMIT in your update queries, but not ORDER BY. Cheers Jon

Re: [PHP] Help with loop inside loop and mysql queries - SOLVED

2003-07-16 Thread Petre Agenbag
Grr Needed to reset the $XXX and $YYY vars BEFORE the for loop... Anyway, should you have nothing better to do, plz look through and see if there is a better way to do this with possibly less queries made on the db... Ta On Wed, 2003-07-16 at 09:25, Petre Agenbag wrote: Hi List. I cannot

RE: [PHP] HELP!!!!!!!!!!!!!!!!!!!!!!!!!!!! can someone tell me whats wrong here? (newbie)

2003-07-10 Thread Roedel, Mark
You're missing at least one closing brace (}) -- the one that belongs with the else if ($login==check) { ten or so lines up from the bottom. --- Mark Roedel | Blessed is he who has learned to laugh Systems Programmer| at himself, for he shall never cease LeTourneau

Re: [PHP] HELP!!!!!!!!!!!!!!!!!!!!!!!!!!!! can someone tell me whats wrong here? (newbie)

2003-07-10 Thread Ray
else if ($userlogin $userpass == $admin $adpw) { this line probably isn't going to do what your thinking it will. you probably want either else if ($userlogin == $admin $userpass == $adpw) { or else if (strcasecmp($userlogin,$admin) == 0 strcasecmp($userpass,$adpw) == 0) {

Re: [PHP] HELP!!!!!!!!!!!!!!!!!!!!!!!!!!!! can someone tell me whats wrong here? (newbie)

2003-07-10 Thread Burhan Khalid
Please use more intelligent and descriptive subjects for your posts. This HELP!!! nonsense is stupid. -- Regards, Burhan Khalid phplist[at]meidomus[dot]com http://www.meidomus.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] HELP can someone tell me whats wrong here? (newbie)

2003-07-10 Thread Mark Clarkstone
Oh well I am sorry your royal majesty - Original Message - From: Burhan Khalid [EMAIL PROTECTED] To: Mark Clarkstone [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Thursday, July 10, 2003 7:26 PM Subject: Re: [PHP] HELP can someone tell me whats wrong here

Re: [PHP] HELP can someone tell me whats wrong here? (newbie)

2003-07-10 Thread Jason Wong
On Friday 11 July 2003 02:28, Mark Clarkstone wrote: - Original Message - From: Burhan Khalid [EMAIL PROTECTED] To: Mark Clarkstone [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Thursday, July 10, 2003 7:26 PM Subject: Re: [PHP] HELP can someone tell me

Re: [PHP] Help a newbie.

2003-07-05 Thread Dan Anderson
If I were you I would create a mySQL (or Postgresql) database containing all of the thumbnails. Use the row id of the mySQL (Postgresql) table to decide which row to display. You probably will want to look up the documentation and/or google. -Dan On Sat, 2003-07-05 at 11:44, Michael Whiting

Re: [PHP] Help a newbie 2.

2003-07-05 Thread Reuben D. Budiardja
On Saturday 05 July 2003 11:47 am, Michael Whiting wrote: Sorry - here's the HTML source. Don't laugh :) snip if ($view1 = true): That statement will always evaluate to true. You may need if($view1 == true) notice the double equal sign if ($view1 = false): Same here RDB -- PHP

Re: [PHP] Help needed

2003-06-30 Thread Haseeb
hi, here is how you do it ? $strJavaScriptValue=Hello; ? script language=JavaScript alert('? echo $strJavaScriptValue?'); /script this will alert Hello!. i think you get the point. Haseeb - Original Message - From: Nirmala P [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday,

Re: [PHP] Help me compose myself... I'm about to kill Microsoft....

2003-06-20 Thread Steve M
On Thu, 19 Jun 2003 13:21:07 +0200, Daniel wrote: Okay, I think I'll have to kill myself... I can't believe I am this stupid, but it turned out I was working on a copy of the file, not the real one. D'OH!!! Sorry, guys! Daniel That's no reason not to kill M$... +a Steve -- Steve

Re: [PHP] Help me compose myself... I'm about to kill Microsoft....

2003-06-20 Thread Daniel
LOL =) Steve M [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Thu, 19 Jun 2003 13:21:07 +0200, Daniel wrote: Okay, I think I'll have to kill myself... I can't believe I am this stupid, but it turned out I was working on a copy of the file, not the real one. D'OH!!!

Re: [PHP] Help me compose myself... I'm about to kill Microsoft....

2003-06-19 Thread Awlad Hussain
try something like this, not sure if this what you want create a random value like $random = rand(); then attach it to the each page.. like index.php?random=$random good luck - Original Message - From: Daniel [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, June 19, 2003

Re: [PHP] Help me compose myself... I'm about to kill Microsoft....

2003-06-19 Thread Daniel
Thanks for the advice, but that would mean I'd have to change the way the code works, and that would a bit much, I think... I was hoping for some registry editing or a little utility or something... But thanks =) Daniel Awlad Hussain [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]

Re: [PHP] Help me compose myself... I'm about to kill Microsoft....

2003-06-19 Thread Daniel
Okay, I think I'll have to kill myself... I can't believe I am this stupid, but it turned out I was working on a copy of the file, not the real one. D'OH!!! Sorry, guys! Daniel Daniel [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Thanks for the advice, but that would mean I'd have

RE: [PHP] Help with my code

2003-06-18 Thread Edward Peloke
what is it not doing? I see you are referencing the variables directly, is register globals 'on'? Are you getting errors? -Original Message- From: Mark Clarkstone [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 18, 2003 11:09 AM To: [EMAIL PROTECTED] Subject: [PHP] Help with my code

RE: [PHP] Help with my code

2003-06-18 Thread James E Hicks III
What is the value of $subject? fwrite() expects the third value passed to it to be the number of bytes to write. James -Original Message- From: Mark Clarkstone [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 18, 2003 11:09 AM To: [EMAIL PROTECTED] Subject: [PHP] Help with my code

Re: [PHP] Help with my code

2003-06-18 Thread Mark Clarkstone
Ok thanks everyone I found out the problem James E Hicks III [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] What is the value of $subject? fwrite() expects the third value passed to it to be the number of bytes to write. James -Original Message- From: Mark Clarkstone

[PHP] Re: PHP help/example for booking program

2003-06-16 Thread Giuliano
Hi Other PHP Users, i am new PHP in the list; i am looking for some code example for a hotel or residence booking program; can someone help me with good tips? some code? i thank you for every help, bye Giuliano -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Help inserting compressed data into a mysql database

2003-06-16 Thread Bas Jobsen
extract from database $data = @gzinflate(stripslahes($data)); Op maandag 16 juni 2003 18:03, schreef u: Hi, I am trying to insert compressed data into a database. Inserting it in seems to work file: $data = addslashes(gzdeflate($data, 9)); insert into database For the most part it works

Re: [PHP] Re: PHP help/example for booking program

2003-06-16 Thread Noel Wade
PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, June 16, 2003 7:42 AM Subject: [PHP] Re: PHP help/example for booking program Hi Other PHP Users, i am new PHP in the list; i am looking for some code example for a hotel or residence booking program; can someone help me with good tips? some code

Re: [PHP] Re: PHP help/example for booking program

2003-06-16 Thread Brad Dameron
Try here: http://www.hotscripts.com/PHP/Scripts_and_Programs/ or here: http://php.resourceindex.com/ Enjoy, Brad - Original Message - From: Giuliano [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, June 16, 2003 7:42 AM Subject: [PHP] Re: PHP help/example for booking program

Re: [PHP] HELP PLEASE

2003-06-08 Thread David Otton
On Sun, 8 Jun 2003 13:31:25 +0300, you wrote: AGES AND TRYING TO FIND A GOOD RSS CREATOR , PLEASE HELP, NOTE THAT I TRIED http://www.phpclasses.org . PHP Classes Repository BUT I DIDN'T MANAGE PLEASE HELP ME A simple RSS document is pretty easy to generate. It's just text... even

Re: [PHP] Help about these algorithm methods

2003-05-31 Thread olinux
Here's an article that covers tree and stack http://www.evolt.org/article/Four_ways_to_work_with_hierarchical_data/17/4047/index.html olinux --- [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hello all, I need help about to implement these methods in PHP: 1) Tree (Arbol) 2) Queue - FIFO

Re: [PHP] Help with eval()

2003-05-30 Thread zavaboy
Umm, have you tested it? It didn't work for me... Marek Kilimajer [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] for ($i = $aNum; eval ('return $i ' . $do . ' $bNum'); ) zavaboy wrote: Hey, I'm having problems with the eval() function... if ($Sort == Up) { $do==; } else

Re: [PHP] Help with eval()

2003-05-30 Thread David Grant
zavaboy wrote: Umm, have you tested it? It didn't work for me... Marek Kilimajer [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] for ($i = $aNum; eval ('return $i ' . $do . ' $bNum'); ) Untested: for ($i = $aNum; eval(return (\$i . $do . \$bNum););) -- David Grant Web Developer

Re: [PHP] Help with eval()

2003-05-30 Thread zavaboy
I get a infinite loop and parse error, unexpected $... David Grant [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] zavaboy wrote: Umm, have you tested it? It didn't work for me... Marek Kilimajer [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] for ($i = $aNum;

Re: [PHP] Help with eval()

2003-05-30 Thread David Grant
zavaboy wrote: I get a infinite loop and parse error, unexpected $... Told you it was untested.. :P -- David Grant Web Developer [EMAIL PROTECTED] http://www.wiredmedia.co.uk Tel: 0117 930 4365, Fax: 0870 169 7625 Wired Media Ltd Registered Office: 43 Royal Park, Bristol, BS8 3AN Studio:

Re: [PHP] Help with eval()

2003-05-30 Thread Marek Kilimajer
yes, missing semi-comma: for ($i = $aNum; eval ('return $i ' . $do . ' $bNum;'); ) the rest is up to you, I don't know what you want to do whit it Marek Kilimajer wrote: for ($i = $aNum; eval ('return $i ' . $do . ' $bNum'); ) zavaboy wrote: Hey, I'm having problems with the eval()

Re: [PHP] Help with eval()

2003-05-30 Thread zavaboy
Ok, it works now! Thanks! Go visit what I'm working on at: http://zavaboy.jimbug.org/phptest/blog.php I'm working on a blog, mainly for myself... If you go there, tell me if the yellow days are clickable. Also tell me if you see red dates on the blog. I should be the only one to see those things

Re: [PHP] Help with eval()

2003-05-29 Thread Marek Kilimajer
for ($i = $aNum; eval ('return $i ' . $do . ' $bNum'); ) zavaboy wrote: Hey, I'm having problems with the eval() function... if ($Sort == Up) { $do==; } else { $do==; } for ($i = $aNum; eval ('$i ' . $do . ' $bNum'); ) //So.. the above line acts like: //for ($i = $aNum; $i = $bNum; )

RE: [PHP] Help in sorting

2003-04-02 Thread John W. Holmes
It looks sorted to me. You get message 12, 23, and then 25. How exactly do you want it to look? ---John W. Holmes... PHP Architect - A monthly magazine for PHP Professionals. Get your copy today. http://www.phparch.com/ -Original Message- From: Haseeb Iqbal [mailto:[EMAIL PROTECTED]

RE: [PHP] Help needed

2003-04-01 Thread Clint Tredway
Please post more of your code. It is difficult for us to help you without seeing your code. Clint -Original Message- From: Andy [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 01, 2003 8:17 AM To: [EMAIL PROTECTED] Subject: [PHP] Help needed Hi all Can someone help? I am new to PHP and

RE: [PHP] Help needed

2003-04-01 Thread Mike Brum
Realize that when you see error line... it doesn't mean that the error is definately on that line. PHP is only *so* smart. You'll find that making mistakes on line X will result in errors being reported on line X+1 or further down in your code. Don't take the errors at face value all the time -

Re: [PHP] Help needed

2003-04-01 Thread Andy
Hi Clint OK hope this is not too much and there are likely to be more errors in it. Thank you Andy ?php session_start(); session_register('auth'); session_register('logname'); include(simba.inc); switch (@$do) { case login: $connection = mysql_connect($host, $user,$password) or die

Re: [PHP] Help needed

2003-04-01 Thread Chris Hayes
At 16:17 1-4-03, you wrote: Hi all Can someone help? I am new to PHP and need some help, i have tried to build a members only section to my website but i am finding it very hard. I get this error when i go to the login page: Parse error: parse error in

Re: [PHP] Help needed

2003-04-01 Thread Chris Hayes
I would suppose that you have an unbalanced {} somewhere. Restructure your code (yes, even more!) so it is easier to see such a mistake. Some coders prefer this: if () { code } but i prefer if () { code } so i see immediately what {braces} belong together.

Re: [PHP] Help needed

2003-04-01 Thread Ernest E Vogelsinger
At 16:27 01.04.2003, Andy spoke out and said: [snip] Hi Clint OK hope this is not too much and there are likely to be more errors in it. Thank you Andy [snip] At the line if ($num == 1) // login name was found

Re: [PHP] Help needed

2003-04-01 Thread Andy
Same error clint. I think the error is between case new: foreach($HTTP_POST_VARS as $key = $value) and /* check to see if login name already exists */ I copied the code from PHP for Dummies (while trying to learn it) and changed the code between the above to add in the extra

Re: [PHP] Help needed

2003-04-01 Thread Andy
Thank you Ernest I am a little confused with the closing curly bracket after $message_new = $phone is not a valid phone number etc which one should i delete? } if (!ereg(^[0-9)(xX -]{7,20}$,$phone)) { unset($do); $message_new = $phone is not a valid phone number.

Re: [PHP] Help needed

2003-04-01 Thread Chris Hayes
At 17:17 1-4-03, you wrote: Thank you Ernest I am a little confused with the closing curly bracket after $message_new = $phone is not a valid phone number etc there are two, and there is nothing inbetween, so technicaly it does not matter to the PHP interpreter. -- PHP General Mailing List

Re: [PHP] Help needed

2003-04-01 Thread J.Veenhuijsen
Maybe the error is here - $emess =$emess1.$emess2.$emess3.$emess4.$emess5.$emess6.emess7; Shouldnt it be $emess7 ??? Jochem Andy wrote: Same error clint. I think the error is between case new: foreach($HTTP_POST_VARS as $key = $value) and /* check to see if login name already

Re: [PHP] Help needed

2003-04-01 Thread Ernest E Vogelsinger
At 17:17 01.04.2003, Andy spoke out and said: [snip] Thank you Ernest I am a little confused with the closing curly bracket after $message_new = $phone is not a valid phone number etc which one should i delete? } if (!ereg(^[0-9)(xX

Re: [PHP] Help Cookies

2003-03-29 Thread Daniel Guerrier
http://www.php.net/manual/en/function.setcookie.php You can set the expire date to be far of into the future. --- Haseeb Iqbal [EMAIL PROTECTED] wrote: hi how can i set the cookies life to non expireable and what action should i take when the user signs out? Regards. -- PHP General

Re: [PHP] Help on preg_split

2003-03-27 Thread Jason Wong
On Thursday 27 March 2003 13:05, Jim wrote: Could someboy please help me with this simple task (at least I though it would be simple): I need to split a string with two dates in into two datestrings, and there might be whatever between the dates, e.g. $datestring = 010101a020202, or

Re: [PHP] help with preg_replace please

2003-03-26 Thread CPT John W. Holmes
I get the following error: Parse error: parse error, expecting `T_VARIABLE' or `'$'' in /usr/local/apache/htdocs/lib/lib_string.inc on line 218 Using this code: $str = preg_replace(!([[:alnum:]]+)://([^[:space:]]*)([[:alnum:]#?/=])!ei, a href=\{$1}://{$2}{$3}\{$2}{$3}/a, $str); Since

Re: [PHP] help with preg_replace please

2003-03-25 Thread Jason Wong
On Wednesday 26 March 2003 13:59, Justin French wrote: Parse error: parse error, expecting `T_VARIABLE' or `'$'' in /usr/local/apache/htdocs/lib/lib_string.inc on line 218 Using this code: $str = preg_replace(!([[:alnum:]]+)://([^[:space:]]*)([[:alnum:]#?/=])!ei, a

Re: [PHP] help with preg_replace please

2003-03-25 Thread Jason Paschal
what that guy said, or use ereg_replace instead of preg_... From: Jason Wong [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: [PHP] help with preg_replace please Date: Wed, 26 Mar 2003 14:08:44 +0800 On Wednesday 26 March 2003 13:59, Justin French wrote

Re: [PHP] Help me pervade Bristol City council to use PHP

2003-03-24 Thread Chris Hewitt
Ben Edwards wrote: Am talking to a part Bristol City Council in the UK. To persuade them to use PHP I need to find some high profile reference sites. You may find some useful references in the archive of this list. I remember a poster with the subject of: Is php used by U.S. Government? By

Re: [PHP] help from experienced devr's

2003-03-17 Thread Ernest E Vogelsinger
At 00:18 18.03.2003, Dennis Gearon said: [snip] Simple question, only related to this forum in that all of us use libraries that are compressed. I'm trying to use adodb, and I uploaded it's zipped archive to a linux box and gunzip won't unzip it. Says

Re: [PHP] help from experienced devr's

2003-03-17 Thread Dennis Gearon
Turns out the adodb guy DOES have a *.tgz file to download. I got it, (it's missnamed in the extension), and was able to extract it fine. Thanks for your help! Ernest E Vogelsinger wrote: At 00:18 18.03.2003, Dennis Gearon said: [snip] Simple question,

RE: [PHP] help me please

2003-03-16 Thread Bryan Brannigan
download and install the apache web server. that along with php should do the trick. if you're doing any database work you may want to pick up the windows version of that too. some decent instructions are here: http://www.thesitewizard.com/archive/php4install.shtml -Original Message-

Re: [PHP] Help with ereg()

2003-03-12 Thread fLIPIS
No, actually i was wrong about this subject. The correct Regular Expression for this is the following: preg_match_all(/(\?.*?\?)/ims,$text,$source_code); The anterior was greedy, and so it matched the following: ? echo aaa; ?html? echo bbb; ? And now it only takes the text between ? and ?,

RE: [PHP] Help with ereg()

2003-03-11 Thread Niklas Lampén
Use preg_match_all(); Something like preg_match_all(/(\(\?.*\?)/im, $Text, $Array_PHP_Code, PREG_PATTERN_ORDER); should do it. It might need some work, but you'll get it. :) Niklas -Original Message- From: Alejandro [mailto:[EMAIL PROTECTED] Sent: 11. maaliskuuta 2003 14:59 To:

Re: [PHP] Help with ereg()

2003-03-11 Thread fLIPIS
¡¡¡ Got it !! It even matches the linebreaks, so it can color multi-line code. Look at this sample: - TEXT TO USE FOR SEARCHING PATTERNS -- ? phpinfo(); ? ? echo PHP IS A GREAT PROGRAMMING LANGUAGE; ? ? // :-)

Re: [PHP] help with insert into table to mysql

2003-03-11 Thread Hugh Danaher
some obvious errors: $submiited on =date(1y-m-d'); // typo on submittedon and the date format seems off, maybe you're looking for date('y-m-d') . $query=insert into articles (date,submitted,status,title,lead,body,submitted by) // if the field name is submitted by then you need

RE: [PHP] Help Needed

2003-03-10 Thread Michael Roger C. Bianan
Garcha, Kindly check your file paths. When you export it, it may not point to what really is the real path online. May I ask what are you trying to achieve? -Original Message- From: Pushpinder Singh Garcha [mailto:[EMAIL PROTECTED] Sent: Monday, March 10, 2003 1:45 PM To: [EMAIL

Re: [PHP] Help Needed

2003-03-10 Thread Pushpinder Singh Garcha
Thanks for the prompt reply Michael I am trying to protect files on the site, my script checks for a valid session ID and fopens() a File. This file is located in a different Dir from the php script. When the file is a simple html file , I can easily fopen() the file (Even though it contains

RE: [PHP] Help Needed

2003-03-10 Thread Michael Roger C. Bianan
] Sent: Monday, March 10, 2003 2:13 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Help Needed Thanks for the prompt reply Michael I am trying to protect files on the site, my script checks for a valid session ID and fopens() a File. This file is located in a different Dir from

Re: [PHP] help needed with code!!

2003-03-10 Thread Hugh Danaher
You might try changing ? to ?php and ? to php? something about short tags hugh - Original Message - From: Karl James [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, March 10, 2003 10:14 PM Subject: [PHP] help needed with code!! Can anyone give me some pointers on why im note

Re: [PHP] Help with session needed

2003-03-09 Thread Jack
On Sun, 9 Mar 2003 21:18:33 +0100 Øystein Håland [EMAIL PROTECTED] wrote: The problem is the cookie soon reaches the 4 kb limit, so I would like to achieve the same using session. The trouble is, I don't know how to do. I would appreciate any help that brings me closer to a solution on this.

Re: [PHP] Help me

2003-03-06 Thread Jason Wong
On Friday 07 March 2003 03:42, Cavallaro, Vito wrote: Do You Know java mail list? I don't, but I bet google does. -- Jason Wong - Gremlins Associates - www.gremlins.biz Open Source Software Systems Integrators * Web Design Hosting * Internet Intranet Applications Development *

Re: [PHP] Help with SQL statement

2003-03-03 Thread David Otton
On Mon, 03 Mar 2003 12:04:37 -0800, you wrote: I have a database that holds a start date and an end date and I have a form with a start date and an end date. The report would be to get everything in the database's date ranges that overlap the form's date range. I am having trouble figuring out

Re: [PHP] Help with Sessions

2003-02-28 Thread Tom Rogers
Hi, Saturday, March 1, 2003, 1:54:24 AM, you wrote: PKI Hi PKI I just have a little problem with sessions. PKI my code: PKI htmL PKI headtitleTEST/title PKI /head PKI body PKI ?php PKI session_start(); PKI if ($submit) { PKI echo 'Hello '.$_SESSION['ID']; PKI } else { PKI

RE: [PHP] Help with Sessions

2003-02-28 Thread Poon, Kelvin (Infomart)
Thanks everyone! it worked fine now! -Original Message- From: Tom Rogers [mailto:[EMAIL PROTECTED] Sent: Friday, February 28, 2003 10:58 AM To: Poon, Kelvin (Infomart) Cc: '[EMAIL PROTECTED]' Subject: Re: [PHP] Help with Sessions Hi, Saturday, March 1, 2003, 1:54:24 AM, you wrote: PKI

<    7   8   9   10   11   12   13   14   15   16   >