Re: [PHP] Call HTML from php

2002-10-01 Thread John Wards
what is on line 3? is the ? tag online 1? - Original Message - From: Anna Gyor [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, October 01, 2002 9:35 PM Subject: Re: [PHP] Call HTML from php First thanks a lot, but I have the following code: ? $database=PH;

Fw: [PHP] Call HTML from php

2002-10-01 Thread Kevin Stone
ob_start(); // your code.. ob_end_flush(); http://www.php.net/manual/en/ref.outcontrol.php -Kevin - Original Message - From: Anna Gyor [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, October 01, 2002 2:35 PM Subject: Re: [PHP] Call HTML from php First thanks a lot, but I

Re: [PHP] Re: submitting a form to multiple places!!!

2002-10-01 Thread Robert Cummings
Henry wrote: No takers? Is this such a difficult problem? Sounds like greek to me... and I don't speak greek :l Cheers, Rob. -- .-. | Robert Cummings | :-`. | Webdeployer - Chief PHP and Java Programmer |

Fw: [PHP] Re: submitting a form to multiple places!!!

2002-10-01 Thread Kevin Stone
I started to respond to this but stopped becuase I didn't understand why you needed to split into two data streams. Seems to me you can simply pass the information onto sequential scripts either in the GET string using header(Location:?) or POST with an open socket connection or Javascript. I

[PHP] Freeze a MySQL field?

2002-10-01 Thread tony
Hi, is it possible to make a certain field in a table or row, so that the content is uneditable after insertion? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: submitting a form to multiple places!

2002-10-01 Thread Chris Wesley
Your problem is tough to understand. Submitting form data to multiple places isn't normal, and your need to do so wasn't clear to me. When you have total control of your environment, the need to re-submit submitted data is superfluous. If you must have a PHP script that handles submitted data

Re: [PHP] eregi_replace / preg_match_all

2002-10-01 Thread Jennifer Swofford
Thanks Kevin - Actually, I'm confused about that too, because this does NOT work (delimeter): $contents = eregi_replace(/(\)(.(/))*[A-Z0-9_/-]+(.gif|.jpg)/, \blah.gif, $contents); But this does (no delimeter): $contents = eregi_replace((\)(.(/))*[A-Z0-9_/-]+(.gif|.jpg), \blah.gif,

[PHP] Date Arithmetic

2002-10-01 Thread Sascha Braun
I have a small but hard to solve problem to solve. Wrote a Select Query for my webpage. The query should select all values which where written into the DB the last seven Days. I thought everything was working fine, but now the month has changed and everything went wrong. My Select Query is

Re: [PHP] Call HTML from php

2002-10-01 Thread Anna Gyor
I hev deleted the row: $num=mysql_num_rows($result); which generates an error message (the output, what you said) and now the script works! Thanks! John Wards [EMAIL PROTECTED] az alábbiakat írta a következo hírüzenetben: [EMAIL PROTECTED] what is on line 3? is the ? tag online 1? -

Re: [PHP] eregi_replace / preg_match_all

2002-10-01 Thread Kevin Stone
Well I can explain that at least. You have to cancel the delimiting character if you're using it as a litteral within the exoression by preceeding them with a \ slash... /\// /(\)(.(\/))*[A-Z0-9_\/-]+(.gif|.jpg)/ Otherwise you're ending the expression at the second slash. -Kevin -

Re: [PHP] Date Arithmetic

2002-10-01 Thread Robert Cummings
Sascha Braun wrote: I have a small but hard to solve problem to solve. Wrote a Select Query for my webpage. The query should select all values which where written into the DB the last seven Days. I thought everything was working fine, but now the month has changed and everything

Re: [PHP] Date Arithmetic

2002-10-01 Thread Kevin Stone
Look into DAYOFYEAR on www.mysql.com. I think you can develope a SELECT statement to do what you need. Might get more help on the PHP-DB list. Good luck. -Kevin - Original Message - From: Sascha Braun [EMAIL PROTECTED] To: PHP General [EMAIL PROTECTED] Sent: Tuesday, October 01, 2002

[PHP] document_root

2002-10-01 Thread Tony Crockford
Hi what exactly does document_root do? Does it give to path to the file from the server root? or does it give the path to the server root? has something changed in 4.2.2 If I want the path to the document I'm in how do I get it? looked everywhere (manual, books and archive), but the answer

RE: [PHP] Date Arithmetic

2002-10-01 Thread John W. Holmes
I have a small but hard to solve problem to solve. Wrote a Select Query for my webpage. The query should select all values which where written into the DB the last seven Days. I thought everything was working fine, but now the month has changed and everything went wrong. My Select Query

Re: [PHP] document_root

2002-10-01 Thread Brad Bonkoski
document_root is the root path to the webserver. Check out: http://www.php.net/manual/en/function.getcwd.php HTH -Brad Tony Crockford wrote: Hi what exactly does document_root do? Does it give to path to the file from the server root? or does it give the path to the server root? has

[PHP] php question

2002-10-01 Thread michael saxbury
I am trying to understand in deatil exactly what PHP is, I know that it is a scripting markup type language, but. Is it correct to say that PHP is essentially just C++ code wrapped in PHP blocks which are embedded in HTML? Thanks, Michael Saxbury

RE: [PHP] Freeze a MySQL field?

2002-10-01 Thread John W. Holmes
Hi, is it possible to make a certain field in a table or row, so that the content is uneditable after insertion? What does this have to do with PHP and no. ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHPTriad on Windows XP?

2002-10-01 Thread Stephen
Just wondering but is it possible to install and use PHPTriad on Windows XP Professional? I had it on my Windows 98 machiene but then formatted and went up to Windows XP Pro. Thanks, Stephen

RE: [PHP] Confirm a Deletion

2002-10-01 Thread John W. Holmes
I added the hidden field like so because I couldn't get htmlentities to work: input type=hidden name=area_todelete value=?=$area_todelete? Just hope that no one submits a $area_todelete with an in it, otherwise they will be able to inject any kind of HTML/Javascript/etc they want into the

[PHP] PHP Extension Troubles

2002-10-01 Thread [-^-!-%-
Hello, My web server freezes (CGI Timeout) whenever I try to enable a PHP Module. What would cause that? I'm trying to load PHP_MSSQL.dll, on a IIS server. At first, I thought it was because of that extension, but I get the same error for all extensions. Am I missing something? - The

Re: [PHP] PHPTriad on Windows XP?

2002-10-01 Thread Stephen
Is this even out yet? I have PHPTriad 2.2 I'm pretty sure. - Original Message - From: Tyler Longren [EMAIL PROTECTED] To: Stephen [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Tuesday, October 01, 2002 5:20 PM Subject: Re: [PHP] PHPTriad on Windows XP? Did you even try to find the

RE: [PHP] Member's Area Script

2002-10-01 Thread Stephen Craton
Hello, Can you please send me the files again? I just formatted and installed Windows XP Pro and I thought exporting my email would also export the attachments but I guess not. Thanks! Thanks, Stephen -Original Message- From: Debbie Dyer [mailto:[EMAIL PROTECTED]] Sent: None To:

Re: [PHP] document_root

2002-10-01 Thread Chris Shiflett
*cringe* No, document root is a defined directory, not an attribute of a specific file. It is used to map the root URL to a directory on the filesystem. For example, when you request http://www.google.com/, that final slash in the URL is the resource you are requesting. In this case, it is

RE: [PHP] Call HTML from php

2002-10-01 Thread John W. Holmes
Why not fix the problem instead of working around it. I think you already solved this, but the error message tells you exactly what's wrong. Headers are sent when you output anything to the browser, and your output started on redirect.php:3, that means line 3. ---John Holmes...

Re: [PHP] PHPTriad on Windows XP?

2002-10-01 Thread Tyler Longren
Did you even try to find the answer by yourself? You could have found the answer to this on the PHPTriad(now called Sokkit) homepage: http://www.phpgeek.com/sokkit/ The answer is listed under Sokkit Requirements. tyler On Tue, 1 Oct 2002 17:19:13 -0500 Stephen [EMAIL PROTECTED] wrote: Just

Re: [PHP] PHPTriad on Windows XP?

2002-10-01 Thread J Wynia
PHPTriad 2.2 will work on XP. No, Sokkit is not out yet. Sokkit will most definitely work on XP as that's what I'm developing it on. Stephen wrote: Is this even out yet? I have PHPTriad 2.2 I'm pretty sure. - Original Message - From: Tyler Longren [EMAIL PROTECTED] To: Stephen

[PHP] Problem with images

2002-10-01 Thread Sirio-7G
I've installed GD library on my server and I've compiled PHP with GD support, but some functions like 'imagecreate' doesn't work. I've the same fatal-error: Fatal error: Call to undefined function: imagecreate() How can I solve it? Best Regards Alessandro __ Ota itsellesi luotettava

RE: [PHP] document_root

2002-10-01 Thread John W. Holmes
You want DOCUMENT_ROOT. If you have a file /home/groups/myproject/htdocs/file.php then, from within that file.php, DOCUMENT_ROOT is /home/groups/myproject/htdocs/ I think it would be $_SERVER['DOCUMENT_ROOT'] in newer versions of PHP. ---John Holmes... -Original Message- From:

RE: [PHP] document_root

2002-10-01 Thread Tony Crockford
Check out: http://www.php.net/manual/en/function.getcwd.php HTH -Brad Certainly does, thanks. I suppose if I'd thought to look at the manual contents rather than trying to construct a *search* I might have found that Oh well, so much to learn so little time. Thanks Tony -- PHP

RE: [PHP] document_root

2002-10-01 Thread John W. Holmes
OK. My bad. That's why I see DOCUMENT_ROOT on sourceforge is /var/www/, while my scripts are in /home/groups/p/pr/project/htdocs/. Sorry for causing confusion in the ranks. :) So what the OP wants is dirname() ?? ---John Holmes... -Original Message- From: Chris Shiflett

RE: [PHP] php question

2002-10-01 Thread John W. Holmes
I am trying to understand in deatil exactly what PHP is, I know that it is a scripting markup type language, but. Is it correct to say that PHP is essentially just C++ code wrapped in PHP blocks which are embedded in HTML? Well, more of a C/C++ syntax, actually. PHP has a lot of built

Re: [PHP] Freeze a MySQL field?

2002-10-01 Thread Brad Bonkoski
Locking it after insertion? *thinking..like locking my front door so it will never open again* Don't think this is a feature we would want. You can, however, control it with your PHP code, assign a lock field in the record, or other ways Or you could create another database with another

Re: [PHP] php question

2002-10-01 Thread Brad Bonkoski
Of course compiled versus interpreted code is a pretty major difference, so it would be hard for me to say it is like a compiled language like C/C++ just because is borrows some of the syntax. I have seen only very generic classifications, but IMHO I would lean more towards saying it is a

Re: [PHP] document_root

2002-10-01 Thread Brad Bonkoski
I think: string getcwd ( void) would do the trick. (dirname() requires that you know the path of a file and want to extract just the directory path) -Brad John W. Holmes wrote: OK. My bad. That's why I see DOCUMENT_ROOT on sourceforge is /var/www/, while my scripts are in

RE: [PHP] PHP 4.2.2 vs PHP 4.0.6

2002-10-01 Thread Jarrad Kabral
Alex You can change back to the old way of parsing vars by simply changing the register_globals setting to on in your PHP config. Though this is certainly not recommended (mainly for security concerns). Good PHP coding practice suggests that you use superglobals when you wish to access session,

RE: [PHP] PHP5

2002-10-01 Thread Jarrad Kabral
I was wondering the same thing... There was a URL to an interview with Zeev Suraski posted on here once where he was talking about the new featuresbut it was in german :( Jarrad -Original Message- From: Brad Bonkoski [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 2 October 2002 9:44

Re: [PHP] PHP5

2002-10-01 Thread Rasmus Lerdorf
They are dreaming in technicolour. -Rasmus On Tue, 1 Oct 2002, Brad Bonkoski wrote: Hello... Don't know if this has been discussed but I saw a book on PHP5 listed on Amazon, saying that PHP5 would be released in the fall of 2002? Was wondering if there has been any information posted

[PHP] mail function problems

2002-10-01 Thread Dan McCullough
I use the mail function tons, never had a problem. I am working with a client with a different hosting vendor, they are using PHP 4.2.3, which I guess was a recient upgrade, anyway I was informed by the client that he wasnt getting email submissions from the website, but he was getting other

[PHP] Constant LDAP errors

2002-10-01 Thread David Chait
Greetings all, I have been trying to get LDAP to compile properly using PHP 4.1.2 with little success. This is a RedHat 7.3 platform using Apache 1.x as the web server, adding PHP as a DSO. When compiling PHP I use ./configure --with-ldap --with-mysql

RE: [PHP] PHP 4.2.2 vs PHP 4.0.6

2002-10-01 Thread John W. Holmes
I didn't realized that PHP had been going so fast that it was creating problems for compatiblility. Here is my situation: PHP on my development server is 4.0.6 while on the application server it is PHP 4.2.2. I bet you all know that there's a huge basic differences between the two but I

RE: [PHP] PHP5

2002-10-01 Thread Dan Harrington
Who cares about a new version number, these days you have to think in much grander terms. Redesign the packaging without changing the product one bit, do a massive AD campaign, rename PHP, release a few press releases that you're now under new management... arrange for the arrest of a few PHP

[PHP] PHP5

2002-10-01 Thread Brad Bonkoski
Hello... Don't know if this has been discussed but I saw a book on PHP5 listed on Amazon, saying that PHP5 would be released in the fall of 2002? Was wondering if there has been any information posted about this? -Brad -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] PHP 4.2.2 vs PHP 4.0.6

2002-10-01 Thread Alex Shi
THanks! John W. Holmes [EMAIL PROTECTED] wrote in message 000f01c269a4$a7329be0$7c02a8c0@coconut">news:000f01c269a4$a7329be0$7c02a8c0@coconut... I didn't realized that PHP had been going so fast that it was creating problems for compatiblility. Here is my situation: PHP on my

Re: [PHP] PHP 4.2.2 vs PHP 4.0.6

2002-10-01 Thread Mike Dunlop
That's because in the newer versions of php the register globals directive is set to off by default...If you turn that directive on and then restart apache, you will be able address GET/POST vars normally (by their identical var name) - Mike D Hi, I didn't realized that PHP had been

[PHP] PHP version

2002-10-01 Thread Alex Shi
Is there any way to report PHP version? -- --- TrafficBuilder Network: http://www.bestadv.net/index.cfm?ref=7029 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP version

2002-10-01 Thread Tyler Longren
yes, that would work much better. tyler On Tue, 01 Oct 2002 20:11:21 -0400 Brad Bonkoski [EMAIL PROTECTED] wrote: Sorry... I think: http://www.php.net/manual/en/function.phpversion.php will be more inline with what you want... -Brad Alex Shi wrote: Is there any way to report PHP

[PHP] Unable to load dynamic Library-Access Denied

2002-10-01 Thread [-^-!-%-
Environment: PHP 4.2.3/IIS/Win2k Server I tried to enable the PHP_MSSQL.dll module, but got the above error. Does anyone know what is causing this? I've tried sharing (web sharing) the folders, and looked around the server configuration...I found nothing that would explain this. Please help.

[PHP] PHP 4.2.2 vs PHP 4.0.6

2002-10-01 Thread Alex Shi
Hi, I didn't realized that PHP had been going so fast that it was creating problems for compatiblility. Here is my situation: PHP on my development server is 4.0.6 while on the application server it is PHP 4.2.2. I bet you all know that there's a huge basic differences between the two but I

Re: [PHP] PHP version

2002-10-01 Thread Brad Bonkoski
perhaps glean it from the SERVER_SOFTWARE variable? -Brad Alex Shi wrote: Is there any way to report PHP version? -- --- TrafficBuilder Network: http://www.bestadv.net/index.cfm?ref=7029 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] PHP version

2002-10-01 Thread Tyler Longren
You can get it out of this variable: _SERVER[SERVER_SOFTWARE] tyler On Tue, 1 Oct 2002 20:03:25 -0400 Alex Shi [EMAIL PROTECTED] wrote: Is there any way to report PHP version? -- --- TrafficBuilder Network: http://www.bestadv.net/index.cfm?ref=7029 --

Re: [PHP] PHP version

2002-10-01 Thread Chris Wesley
On Tue, 1 Oct 2002, Alex Shi wrote: Is there any way to report PHP version? Sure. What version of PHP are you using? ;) ~Chris P.S. - if you didn't find that amusing, just check out http://www.php.net/manual/en/function.phpversion.php -- PHP General Mailing List

Re: [PHP] PHP version

2002-10-01 Thread Brad Bonkoski
Sorry... I think: http://www.php.net/manual/en/function.phpversion.php will be more inline with what you want... -Brad Alex Shi wrote: Is there any way to report PHP version? -- --- TrafficBuilder Network: http://www.bestadv.net/index.cfm?ref=7029 -- PHP General

[PHP] Re: inputbox?

2002-10-01 Thread Jeff Bluemel
anybody??? anyway to pop up an inputbox that will get a variable? also, and yes / no or ok / cancel boxes I can make pop up? Jeff Bluemel [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... is there a way to for an input box to come up looking for a value? I know

Re: [PHP] submitting a form to multiple places!!!

2002-10-01 Thread Justin French
Don't think it can be done... at least not the way you describe. *maybe* it can be done with javascript, but I'd try to do it this way: 1. user completes form, clicks submit 2. your scripts don't send any output to the browser (ie, it's not a page, it's a script), generate the auto-responders,

[PHP] safe_mode and include http://; question

2002-10-01 Thread Tomasz Orzechowski
should PHP with safe_mode enabled allow include-ing of files via http:// or not? The way I read the docs it shouldn't and I would expect it to not allow such includes if it enforces permissions and open_basedir and such. i browsed around on bugs.php.net but cannot find anything revevant. is

[PHP] Re: stuck n00b

2002-10-01 Thread Chris Nielsen
Well, $_POST['userName'] is now working, but I could have sworn I was trying that last night and it was returning the same error. Oh well, thanks for the help guys. Chris Nielsen [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I have a simple form: form

Re: [PHP] stuck n00b

2002-10-01 Thread Chris Nielsen
I was sure I'd tried it, but $_POST works now. Thanks guys. Jay Blanchard [EMAIL PROTECTED] wrote in message 000501c2697d$ded95a10$8102a8c0@000347D72515">news:000501c2697d$ded95a10$8102a8c0@000347D72515... [snip] My form is actually using method=post. And I did use $_POST. Can't remember if

Re: [PHP] Re: inputbox?

2002-10-01 Thread Justin French
I don't understand. Twice. Tell us what you need, slowly and clearly. Justin French on 02/10/02 10:35 AM, Jeff Bluemel ([EMAIL PROTECTED]) wrote: anybody??? anyway to pop up an inputbox that will get a variable? also, and yes / no or ok / cancel boxes I can make pop up? Jeff

Re: [PHP] Re: inputbox?

2002-10-01 Thread Brad Bonkoski
pop-up windows, reminds me of the days of visual basic programming I know you can display dialog boxes using javascript, but not sure if they will take a value in them, just like a confimirmation type box, like Are you sure? OK CANCEL To the point, check some javascript references out, I

[PHP] imagecreatefromstring

2002-10-01 Thread Todd Pasley
Hi, I asked a question similar to this earlier, but I thought it may have required simplification/rewording. According to the doco, imagecreatefromstring has the following declaration: resource imagecreatefromstring ( string image) Does anyone know how an image can be transformed into a

[PHP] Connect to oracle on another host

2002-10-01 Thread Juan Antonio Ruiz Zwollo
Hi! I've been writing PHP scripts for a long time but never needed to get data from an Oracle database. Till now. Can somebody give me a hand? The Oracle database is running on another server. The information I have been given is: host (e.g. somewhere.somewhere.com) username (e.g.

RE: [PHP] Re: inputbox?

2002-10-01 Thread Todd Pasley
What you seem to be looking for are the javascript functions, alert, confirm and/or prompt. for a billion examples see... http://www.google.com/search?num=20hl=enlr=ie=UTF-8oe=UTF-8newwindow=1; safe=offq=confirm+alert+promptbtnG=Google+Search Todd. -Original Message- From: Jeff

[PHP] Not sure if it pass the first time : Help with imap attachment

2002-10-01 Thread Nokar
$attachdata[$x] = imap_base64($attachment); on that part sometimes the attachdata get empty so i did a IF but at that point i'm stuck. If i output it raw it will simply not work. Please help ! Here the code : if ($AsAttach == Y) { for ($x=0;$xsizeof($attachments);$x++) { $pid[$x] =

RE: [PHP] Connect to oracle on another host

2002-10-01 Thread Todd Pasley
Try looking at the following paper, it looks very good. http://conf.php.net/pres/slides/oci/paper.txt HTH Todd. -Original Message- From: Juan Antonio Ruiz Zwollo [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 2 October 2002 11:28 AM To: [EMAIL PROTECTED] Subject: [PHP] Connect to

[PHP] backwards compat for newly developed scripts ($_GET / $HTTP_GET_VARS)

2002-10-01 Thread Paul Nicholson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hey gang, I've been wondering about developing scripts that the end-user might run on php 4.1.0. I've heard allot of ways except for one that I recently thought of. How about using: - if(!isset($_GET)) { global $HTTP_GET_VARS; $_GET =

[PHP] Re: safe_mode and include http://; question

2002-10-01 Thread nicos
Post it as a bug please. It looks like one, anyway it will be closed if its not. -- Nicos - CHAILLAN Nicolas [EMAIL PROTECTED] www.WorldAKT.com - Hébergement de sites Internet Tomasz Orzechowski [EMAIL PROTECTED] a écrit dans le message de news: [EMAIL PROTECTED] should PHP with safe_mode

[PHP] Help with Imap : getting attachment

2002-10-01 Thread Nokar
$attachdata[$x] = imap_base64($attachment); on that part sometimes the attachdata get empty so i did a IF but at that point i'm stuck. If i output it raw it will simply not work. Please help ! Here the code : if ($AsAttach == Y) { for ($x=0;$xsizeof($attachments);$x++) { $pid[$x] =

Re: [PHP] inputbox?

2002-10-01 Thread Tom Rogers
Hi, Tuesday, October 1, 2002, 1:36:43 PM, you wrote: JB is there a way to for an input box to come up looking for a value? I know JB there are a few ways I could resolve my current issue, but I would prefer to JB display an inputbox, and use that value in my query. JB basically I would do a

Re[2]: [PHP] inputbox?

2002-10-01 Thread Tom Rogers
Hi, Wednesday, October 2, 2002, 11:52:34 AM, you wrote: TR Hi, TR Tuesday, October 1, 2002, 1:36:43 PM, you wrote: JB is there a way to for an input box to come up looking for a value? I know JB there are a few ways I could resolve my current issue, but I would prefer to JB display an

Re: [PHP] Re: inputbox?

2002-10-01 Thread Jeff Bluemel
LOL - I've been using VB for about 6 years, and I'm just beginning to convert over to php. the application I am writing is for prepaid phone cards. if they are going to activate a pin, inactivate, or recharge then I want a confirmation box. I would prefer to also have a box pop up to get the

Re: Re[2]: [PHP] inputbox?

2002-10-01 Thread Jeff Bluemel
Tom, I am going to work with this command, and see if I can get it to work. Thanks, Jeff Tom Rogers [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi, Wednesday, October 2, 2002, 11:52:34 AM, you wrote: TR Hi, TR Tuesday, October 1, 2002, 1:36:43 PM, you

Re: [PHP] Re: inputbox?

2002-10-01 Thread Justin French
Confirmation is easy -- the client has the right to ask for this component. It's the method in which you want to confirm (javascript, pop-ups, etc) that is the problem. It can be as simple as: submit form page asking are you sure you want to blah blah blah submit yes or no action taken No

Re: Re[2]: [PHP] inputbox?

2002-10-01 Thread Jeff Bluemel
OK Tom - that script worked beautiful. there are a few different applications that I need this for, and I'm wondering if you can either help me with the coding, or refer me to a webpage that can get me started in the right direction. I need to collect a value that will be used in a query.

Re: [PHP] Re: inputbox?

2002-10-01 Thread Jeff Bluemel
Justin... could I talk you into giving me an example in code of this? (I would really appreciate it) where is this phpmyadmin? I'm not seeing a function, and I searched php's website for this string, and I'm not finding anything. Jeff Justin French [EMAIL PROTECTED] wrote in message [EMAIL

[PHP] PHPLIB version? the latest.

2002-10-01 Thread
Sorry,it's my fault. I want to know the latest PHPLIB version. Can you email me PHPLIB?? thanks a lot . = ## //Javen Fang// //Froma CHina// ### _ Do You Yahoo!? ·¢¶ÌÐÅÓ®ÊÖ»ú,¿ìÀ´²Î¼ÓÑÅ»¢¾ÞÐÇÐã!

[PHP] The latest PHP version??? NOT Ver7.2??

2002-10-01 Thread
thanks. Can you email me??? _ Do You Yahoo!? ·¢¶ÌÐÅÓ®ÊÖ»ú,¿ìÀ´²Î¼ÓÑÅ»¢¾ÞÐÇÐã! http://cn.ent.yahoo.com/star/midautumn/index.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] The latest PHP version??? NOT Ver7.2??

2002-10-01 Thread Tyler Longren
latest version is: 4.2.3 not 7.2 tyler On Wed, 2 Oct 2002 10:36:08 +0800 (CST) ¼ÒÎÄ ·½ [EMAIL PROTECTED] wrote: thanks. Can you email me??? _ Do You Yahoo!? ·¢¶ÌÐÅÓ®ÊÖ»ú,¿ìÀ´²Î¼ÓÑÅ»¢¾ÞÐÇÐã!

Re: [PHP] Re: safe_mode and include http://; question

2002-10-01 Thread Tomasz Orzechowski
[EMAIL PROTECTED] wrote on Wed, Oct 02, 2002 at 03:22:26AM +0200: Post it as a bug please. It looks like one, anyway it will be closed if its not. done, as bug #19703 safe_mode allows include-ing of http documents http://bugs.php.net/bug.php?id=19703 thanks, -- Tomasz Orzechowski

Re: [PHP] Wanting to better understand

2002-10-01 Thread Chris Shiflett
Chuck, I'm not sure what you're trying to do, but I think you might just want to order it the other way around. if ($days 45) { # $days is 46 or more do stuff } elseif ($days 30) { # $days is 31-45 do other stuff; } else { # $days is 30 or less more stuff; }

RE: [PHP] Wanting to better understand

2002-10-01 Thread Jarrad Kabral
and just when I thought this day couldnt get any more confusing:| -Original Message- From: Chuck PUP Payne [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 2 October 2002 12:50 PM To: PHP General Subject: [PHP] Wanting to better understand Hey, I am trying to better understand

Re[4]: [PHP] inputbox?

2002-10-01 Thread Tom Rogers
Hi, Wednesday, October 2, 2002, 12:21:29 PM, you wrote: JB OK Tom - that script worked beautiful. JB there are a few different applications that I need this for, and I'm JB wondering if you can either help me with the coding, or refer me to a JB webpage that can get me started in the right

[PHP] Wanting to better understand

2002-10-01 Thread Chuck \PUP\ Payne
Hey, I am trying to better understand something, I learned a couple weeks ago that if I do this... If ($field == value1) { $field = change to new value; Now I have use this to change -00-00 to nbsp;. And the following. If ($days 30) { $days strongfont color='ff' . $days .

[PHP] Re: The latest PHP version??? NOT Ver7.2??

2002-10-01 Thread Jeff Bluemel
4.2.3 thanks. Can you email me??? _ Do You Yahoo!? ·¢¶ÌÐÅÓ®ÊÖ»ú,¿ìÀ´²Î¼ÓÑÅ»¢¾ÞÐÇÐã! http://cn.ent.yahoo.com/star/midautumn/index.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Wanting to better understand

2002-10-01 Thread Chuck PUP Payne
A, ok. You know am still having problems with elseif, else, Ok, thanks I will give it a try. Chuck On 10/1/02 11:03 PM, Chris Shiflett [EMAIL PROTECTED] wrote: Chuck, I'm not sure what you're trying to do, but I think you might just want to order it the other way around. if

Re: [PHP] Wanting to better understand

2002-10-01 Thread Paul Nicholson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hey, ok, I'm not sure if I totally understand what you're trying to do but.I'll give it my best. Try: switch (TRUE) { case ($days 30): $days = strongfont color='ff' . $days . /font/strong; break; case

[PHP] Is there PHPLIB in windows? I want to use template.

2002-10-01 Thread
thanks. please email me,or links?? _ Do You Yahoo!? ·¢¶ÌÐÅÓ®ÊÖ»ú,¿ìÀ´²Î¼ÓÑÅ»¢¾ÞÐÇÐã! http://cn.ent.yahoo.com/star/midautumn/index.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Wanting to better understand

2002-10-01 Thread Sascha Cunz
Anyway... cool way to use switch Obviously i've been working too much with C, that i never thought of a way, you could use the conditional-expression in the case, not in the switch ;) Sascha switch (TRUE) { case ($days 45): $days = strongfont color='ff00ff' . $days .

Re: [PHP] Wanting to better understand

2002-10-01 Thread Paul Nicholson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 yeah, I know...duh! *yawn* long nite...I'll see y'all in the morn. :) ~Paul On Tuesday 01 October 2002 11:22 pm, Chris Shiflett wrote: Paul Nicholson wrote: If ($days 30) { $days = strongfont color='ff' . $days . /font/strong; }elseif

Re: [PHP] backwards compat for newly developed scripts ($_GET / $HTTP_GET_VARS)

2002-10-01 Thread Sascha Cunz
Hey gang, I've been wondering about developing scripts that the end-user might run on php 4.1.0. I've heard allot of ways except for one that I recently thought of. How about using: - if(!isset($_GET)) { global $HTTP_GET_VARS; $_GET = $HTTP_GET_VARS; } - ? That allows you to

Re: [PHP] backwards compat for newly developed scripts ($_GET / $HTTP_GET_VARS)

2002-10-01 Thread Paul Nicholson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hey, [snip] If any script shall be executeable on such an old PHP release, this method sounds really good. But, for security reasons i would prefer to ship this in an extra script, which the user has explicitly to include (Maybe just

Re: [PHP] Wanting to better understand

2002-10-01 Thread Paul Nicholson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 oppsI need those reversed. - switch (TRUE) { case ($days 45): $days = strongfont color='ff00ff' . $days . /font/strong; break; case ($days 30): $days = strongfont color='ff' . $days . /font/strong;

[PHP] Incrementing the value

2002-10-01 Thread Uma Shankari T.
Hello , a href=Delay.php?hid=?php echo $hid+1; ?img src=Gif/nextque.gif border=0/a While clicking this link the $hid value get incremented and fetch the value from the database according to that..the same thing is working in linux platform and it is not working for the windows

Re: [PHP] Incrementing the value

2002-10-01 Thread Paul Nicholson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hey, Whats the php version on the window machine? register_globals on? Try: a href=Delay.php?hid=?php echo $_GET['hid']+1; ?img src=Gif/nextque.gif border=0/a HTH! ~Pauly On Tuesday 01 October 2002 11:53 pm, Uma Shankari T. wrote: Hello , a

Re: [PHP] Re: inputbox?

2002-10-01 Thread Justin French
phpMyAdmin(.org) is a GUI web interface for managing MySQL databases. it's open source, so if you like what you see, you can dig around in the code and borrow... they pop-up confirmations on delete and empty type queries. as for a simple confirmation script... I don't really have the time right

Re: [PHP] Re: inputbox?

2002-10-01 Thread Jeff Bluemel
thanks - I will have to look through things... you explanation made sense, and I believe I can get it to work that way. I think I'm going to try Tom's Java script first, and use this is a fail safe. Jeff Justin French [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL

Re: [PHP] Incrementing the value

2002-10-01 Thread Uma Shankari T.
Hello, PNHey, PNWhats the php version on the window machine? register_globals on? I am using php4 and also the register_globals are On only.. PNTry: PNa href=Delay.php?hid=?php echo $_GET['hid']+1; ?img PNsrc=Gif/nextque.gif PN border=0/a Already i have tried this code also..Can anyone

Re: [PHP] backwards compat for newly developed scripts ($_GET / $HTTP_GET_VARS)

2002-10-01 Thread Sascha Cunz
ummyou'd have to include that line at the top of every function that uses get(or any of the other) vars(scoping reasons) or somehow pass it via a reference to the function. I've always added the line at the top. At the top of each _function_? Urgs. Sounds like a hell of a lot of work.

[PHP] PHP and Flash

2002-10-01 Thread Rebekah Garner
Okay, this may be a bit off topic, BUT we just finished a website using PHP, MySql and Flashwell, I need someone...anyone to check out this URL for me and click on the Stallions menu, and tell me if anything loads into the text field. The client swears that it isn't, but it is dammit. Or

[PHP] XML Parser

2002-10-01 Thread Khalid El-Kary
hi, i have developped an XML parser that's easy to use and very fast, and i have run two websites using it. http://creaturesx.ma.cx http://creaturesx.ma.cx/osman/jokes/index.php (not complete website) the question comes now what's best way to contribute this parser to the PHP community

[PHP] Undefined index:

2002-10-01 Thread Voisine
Hi, I'm learning php from a book but because of global off I have have several Undefined index message! I don't want to change the default setting in my php.ini because I want to learn the good way. What I'm doing wrong? Undefined index: categorie if ($_POST['categorie'] == New) { Undefined

<    1   2   3   >