Re: [PHP] PHP vs Perl question

2001-07-19 Thread Ryan Fischer
I'm pretty new to programming - besides JavaScript, PHP is really the first language I've used. I'm just wondering, and I'm sure you all would know - should I learn Perl? Is it considered a necessity for a web developer to know Perl, or is it not a worthwhile endeavor, considering how easy

Re: [PHP] PHP Security

2001-07-19 Thread Politz Christian
Hi Ray, Ray Parish wrote: For a virtual hosting stand point, which is better to run, the module or the cgi version of php? Can you also explain why one is better than the other..? It depends on your needs. If you care about security you should use the cgi-version and place it outside the

Re: [PHP] File Upload Headaches

2001-07-19 Thread David Robley
On Thu, 19 Jul 2001 16:06, Jason Rennie wrote: Hi all, Can anybody see what is wrong with this code ?? echo \$userfile = $userfile; echo $HTTP_POST_FILES['userfile']['tmp_name']; // now to provide an assignment submission box print P; print FORM

Re: [PHP] MySQL Query

2001-07-19 Thread Ryan Fischer
You wrote: I have a table that looks like Name | Type | X | Y Foo| Ship | 9 | 29 Bar| Base | 9 | 29 Is there any way I can write a query that selects everything with Type = Base, and X and Y = Foo's X and Y? ie Select * from table where type = Base and X = {Foo:X} and Y =

Re: [PHP] set var in PHP clarified

2001-07-19 Thread Gunther E. Biernat
Jessica, I used that technique before PHP was available (for all readers, the key term here is Server Side Includes, e.g. http://httpd.apache.org/docs/howto/ssi.html.html). With PHP you're a lot more flexible so that you should get rid of your shtml structure, especially as PHP is much faster

[PHP] Using Frames

2001-07-19 Thread Mark Lo
Hi, I would like to know how to make all three frames to move at the same time. Actually is it possible ?? Thanks Mark -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list

Re: [PHP] a good PHP editor

2001-07-19 Thread Schill, Johannes
So sprach »Schill, Johannes« am 2001-07-18 18.07.2001 um 22:24:21 +0200 : I haven't seen any other programs for Windows you can edit remote files instead of the usual download, edit, upload. Let me know if there are How does that work? Is it just that it has some kind of simple FTP

Re: [PHP] php logo

2001-07-19 Thread Daniel Rezny
Hello Alva, Thursday, July 19, 2001, 10:24:09 AM, you wrote: AC hi everyone, AC i would like to know if there is an official logo for php4 that i can put on AC my company website, to show that we support and develop applications using AC php4. AC thanks and regards, AC Alva Chew Try to

[PHP] Re: Using Frames

2001-07-19 Thread James Holloway
Hi Mark, yes it's possible, but with javascript rather than php Do a search on a javascript related site for window.frames James. Mark Lo [EMAIL PROTECTED] wrote in message 000701c11021$c66111a0$caccfea9@Mark">news:000701c11021$c66111a0$caccfea9@Mark... Hi, I would like to know how

RE: [PHP] Re: OT Math Question

2001-07-19 Thread Nigel Russell
Hi, The answer actually depends on whether the order is important (ie if it matters if the user selects from x from the first menu and y from the second, and if this is deemed to be identical to selecting y from the first and x from the second). If the order is important, then the number of

[PHP] Individual PHP Developer(s) Req. in Alberta, Canada

2001-07-19 Thread Roderick Scott Corporation
Hello, Please forgive my Slightly Off Topic posting. I am starting a short-term (2-12 weeks) project here in Edmonton, Alberta and will require one or two contract developers of PHP. Project will entail using PHP linked to PostgreSQL and will be deployed under Linux/Apache. More details

[PHP] Re: More upload Problems

2001-07-19 Thread Peter Clarke
Jason Rennie [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi all, It appears when i try to upload a file in a form, and pass it to php, it never arrives. I'm doing a POST from a form, and i all but copied the example straight from the php manual on file

Re: [PHP] count number of email sent to us

2001-07-19 Thread Jack
How about when there is two people click on the email link at the same time (which could happen on internet) , what will happen to the value that will pass to javascript variables as number of click? Jack [EMAIL PROTECTED] Love your enemies, it will drive them nuts - Original Message -

Re: [PHP] PHP is cool by me.

2001-07-19 Thread John Monfort
Amen ! __John Monfort_ _+---+_ P E P I E D E S I G N S www.pepiedesigns.com The world is waiting, are you ready? -+___+- On Tue, 17 Jul 2001, Sterling Hanenkamp wrote: Just thought I'd send

Re: [PHP] 100MÐéÄâÖ÷»ú+¹ú¼ÊÓòÃûÖ»Ðè350Ôª£¡

2001-07-19 Thread Vitali Falileev
Ìëÿ, çàòðàõàëè!!! Êèòàéöû, ÿïîíöû, àðàáû è ïðî÷èå èåðîãëèôíûå óðîäöû. Ó÷èòå ðóññêèé, à åñëè íå ìîæåòå, õîòÿ áû àíãëèéñêèé. Íàðîä êòî ìîæåò ýòîãî ï@#$ðà âûùåìèòü, ñòóêíèòå ïî áàøêå ïëç. Sorry for flame. Ï ×𾴵Ŀͻ§£¬ÄúºÃ£¡ Ï ÎÒÃÇÊÇÖйúÓòÍøhttp://www.163asp.net/ Ï

Re: [PHP] XSLT module bugs (?)

2001-07-19 Thread Maxim Derkachev
MD Just met two bugs (?) in the xslt module. The bugs appear to be Sablot's. Just have the same results using sabcmd. Posting report there. -- Best regards, Maxim Derkachev mailto:[EMAIL PROTECTED] System administrator programmer, Symbol-Plus Publishing Ltd. phone: +7 (812) 324-53-53

Re: [PHP] Re: More upload Problems

2001-07-19 Thread Jason Rennie
Check your php.ini file to see if file_uploads = on - it is often turned off for security. Yep it is turned on. And php.ini is in /usr/local/php/lib/php.ini Any other ideas ? Jason -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: [PHP] a good PHP editor

2001-07-19 Thread John Monfort
Amen ! __John Monfort_ _+---+_ P E P I E D E S I G N S www.pepiedesigns.com The world is waiting, are you ready? -+___+- On Wed, 18 Jul 2001, Chris Lambert - WhiteCrown Networks wrote:

[PHP] Sessions over Internet Explorer

2001-07-19 Thread Enrique Rodríguez Lázaro
Bogdan Morar wrote: I think is a problem of cache. Use Ctrl+F5 to refresh the page in IE or CTRL+Refresh if u use the mouse. Of course is another param alow_cache in phplib which must be true or false. Thanks, but that isn't the problem. I have tried with 5 different Internet Explorer.

[PHP] date

2001-07-19 Thread Duy B
Hi all, I have a view containing a char value. I use select to_date(thoigian,'yy-mm-dd hh24:mi:ss') from this view. But i can't see the time, it's only appear as DD-MON-YY. Anybody could show me how to see the time. Thanks you in advance. Best regards, BaDu

[PHP] a goog whatever you want editor

2001-07-19 Thread Aniceto Lopez
My opinion: UltraEdit https://www.ultraedit.com cheap, powerfull, totally configurable, ftp included, http://www.ultraedit.com/products/features.html free tag list (any code), word files, macros I use it for html, xml, xsl, wml, php, javascript... Ani Lopez http://www.lamundial.net visit us,

[PHP] Re: a goog whatever you want editor

2001-07-19 Thread elias
As we already run into this sort of discussions...here's my opinion again: http://www.editplus.com Fast, light, and powerfull! I use it to edit all my files! even my assembly projects! Aniceto Lopez [EMAIL PROTECTED] wrote in message

[PHP] Re: Loading values from a select tag

2001-07-19 Thread elias
select name=my_select multiselect ... /select then php would read as: ? for ($i=0;$icount($my_select);$i++) { echo Value$i={$my_select[$i]}br; } ? Mauricio T?Llez Jim?Nez [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi all, I want to print all the text

[PHP] Re: Editing Files Using POST Forms

2001-07-19 Thread elias
try stripcslashes() Rca Web Development [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I have created a php page that accepts a variable called $file using GET. It then displays this in a textarea box. You can then edit the file and click a button to save it

[PHP] Re: screen

2001-07-19 Thread elias
you can clear w/ refreshing! just do it via javascript as: script document.open(); document.close(); /script Jeremy Morano [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... is there any refresh or clear screen function in php? -- PHP General Mailing List

Re: [PHP] Re: a goog whatever you want editor

2001-07-19 Thread Daniel Rezny
Hello elias, Thursday, July 19, 2001, 10:59:50 PM, you wrote: e As we already run into this sort of discussions...here's my opinion again: e http://www.editplus.com e Fast, light, and powerfull! I use it to edit all my files! even my assembly e projects! I am using this

Re: [PHP] date

2001-07-19 Thread AJDIN BRANDIC
What is this On Mon, 4 Jan 1999, Duy B wrote: On Mon, 4 Jan 1999, Duy B wrote: Hi all, I have a view containing a char value. I use select to_date(thoigian,'yy-mm-dd hh24:mi:ss') from this view. But i can't see the time, it's only appear as DD-MON-YY. Anybody could show me how to see the

[PHP] PHP- OF TOPIC

2001-07-19 Thread Yassel Omar Izquierdo Souchay
Hi agin I have APCHE SERVER Installed in my Machine. And i have Win2k pro installed. And as you sww i want to use. So i having troubles to configure the WEB server. If somebody knows how to do it, please it would help me much. Thanks Yassel (Cybername=YOIS)

Re: [PHP] Prevent user to close web browser

2001-07-19 Thread kath
Not with PHP. Maybe some Javascript could. But why would you want this? Planning some infinite spawning pop up website? =) - k On Thursday 19 July 2001 08:28 am, you wrote: Hello, I need to prevent user to close the web browser on close button or by pressing ALT+F4. Is this possible?

Re: [PHP] Prevent user to close web browser

2001-07-19 Thread Slavomir Slizik
So, try to surf some free erotic,porn sites. They're full of that window-spawing stuff :( slavko On Thu, 19 Jul 2001, kath wrote: Not with PHP. Maybe some Javascript could. But why would you want this? Planning some infinite spawning pop up website? =) - k On Thursday 19 July 2001

Fw: [PHP] PHP- ABOUT CONFIGURE APACHE SERVER

2001-07-19 Thread Yassel Omar Izquierdo Souchay
MY PROBLEMS IS. THAT I DON'T KNOW HOW TO CONFIGURE MY APACHE SERVER TO USE MY C:\Inetpub\wwwroot\SITES I HAVE THERE THAT'S MY PROBLEM. THANKS FOR YOUR COLABORATION. YOIS - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, July 19, 2001 7:32 AM Subject:

RE: [PHP] Prevent user to close web browser

2001-07-19 Thread Mihailo Dzigurski
I need it for my intranet web site, some of my users close browser on long lasting script and I need to prevent this. Thanks, Mihailo. -Original Message- From: kath [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 19, 2001 2:39 PM To: Mihailo Dzigurski Cc: [EMAIL PROTECTED] Subject: Re:

Re: [PHP] Prevent user to close web browser

2001-07-19 Thread Steve Brett
have a javascript function that is fired when you load the index page. i have a calendar system that i wrote at work that is displayed in a window with most of the features turned off like toolbars etc. have a look at 'on load' and window properties. it's a doddle. and no i didn't find it on

[PHP] RE:[PHP] PHP- ABOUT CONFIGURE APACHE SERVER

2001-07-19 Thread thiagols
Well, you gotta edit the file httpd.conf 9i dont know where had you installed apache, but i think u can find this file at: c:\program files\apache group\apache\conf. Open it! Go to line where it is specified document root... DocumentRoot C:\Inetpub\wwwroot\ after that... edit this: # # This

[PHP] Sessions + Variables + includes

2001-07-19 Thread dosenbrei
Hi Sorry for my bad english ;-) I'm writing an application using php and sessions. In the first include file i'm writing something like this session_start(); session_register(loggedin); The i have another include file with the functions. When i'm submitting the username and passwort to the

[PHP] Re: Sessions + Variables + includes

2001-07-19 Thread Steve Brett
great minds and all that this is some code i use but i have a login page that takes the username and passowrd and passes that to another page that does the verification. so: page 1 takes the username and password. page 2 registers session vars and sets logged in to true if accepted. every

Re: [PHP] Sessions + Variables + includes

2001-07-19 Thread Slavomir Slizik
On the title page: session_register(loggedin); then: session_start(); on every page better to test session availability on every page: if (!session_is_registered(loggedin)) { // redirect user to title page where the session is registered } But your method of handling sessions

Re: [PHP] Sessions + Variables + includes

2001-07-19 Thread ReDucTor
?php $loginpass = test; $loginuser = test; $locationof403 = error.php?403; session_start(); session_register(user,pass); if(isset($user)) $username = $user; if(isset($pass)) $password = $pass; if(isset($username)) $user = $username;

Fw: [PHP] RE:[PHP] PHP- ABOUT CONFIGURE APACHE SERVER

2001-07-19 Thread Yassel Omar Izquierdo Souchay
May i change this ? ScriptAlias /php/ C:/WINNT/system32/inetsrv/php/ AddType application/x-httpd-php .php .php3 .phtml Action application/x-httpd-php /php/php.exe by this other? ScriptAlias /php/ C:/WINNT/system32/inetsrv/php/sapi AddType application/x-httpd-php .php .php3 .phtml

Re: [PHP] MySQL Query - SOLVED

2001-07-19 Thread Sheridan Saint-Michel
Thanks! That's exactly what I was looking for = 3 ) - Original Message - From: Morten Winkler Jørgensen [EMAIL PROTECTED] To: Sheridan Saint-Michel [EMAIL PROTECTED] Sent: Thursday, July 19, 2001 2:56 AM Subject: Re: [PHP] MySQL Query Hi Sheridan, You wrote: SSM I have a table

Re: [PHP] Re: More upload Problems

2001-07-19 Thread Jason Rennie
Check your php.ini file to see if file_uploads = on - it is often turned off for security. Yep it is turned on. And php.ini is in /usr/local/php/lib/php.ini Any other ideas ? Jason need to see some code... Here is the total chunk of code to date. It does currently

[PHP] Basic database questions.

2001-07-19 Thread Seb Frost
Hi everyone, this is my first ever post on the list so please be gentle with me ;-) OK I want to put a database on my website. Up until yesterday my knowledge of databases was having created a very simple one when I was about 15 for GCSE IT. Don't ask how, but I've always avoided them,

Re: [PHP] Re: More upload Problems

2001-07-19 Thread Jason Rennie
Check your php.ini file to see if file_uploads = on - it is often turned off for security. Yep it is turned on. And php.ini is in /usr/local/php/lib/php.ini Any other ideas ? Jason need to see some code... Here is the total chunk of code to date. It does currently

[PHP] Re: Basic database questions.

2001-07-19 Thread Steve Brett
Seb Frost [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi everyone, this is my first ever post on the list so please be gentle with me ;-) OK I want to put a database on my website. Up until yesterday my knowledge of databases was having created a very

RE: [PHP] Prevent user to close web browser

2001-07-19 Thread Tom Malone
I am almost positive this is not possible with JavaScript or even VBScript. It might be possible with Visual Basic, but again - why would you want to do that? Tom -Original Message- From: kath [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 19, 2001 8:39 AM To: Mihailo Dzigurski Cc:

Re: [PHP] REGEXP

2001-07-19 Thread Sheridan Saint-Michel
I am not sure if I am understanding you... but if you just want to return the boundary try preg_match(|boundary=\([^\].+)\|Uis, $text, $regs ); $boundary = $regs[1]; I am guessing that you want the boundary from the lines to avoid regexp (too lazy) but now I want to use it. The final result I

Re: [PHP] XSLT module bugs (?)

2001-07-19 Thread Francis Fillion
The ® is because (well I think) of the utf-8 code, try utf8_decode() to decode it and to get it back. P.S. What is they command that you made for php 4.0.6 to parse your xml file, I'm not able to parse a xml file with sablotron since 4.0.6. Maxim Derkachev wrote: Hi all. Just met two

[PHP] pcntl_fork()

2001-07-19 Thread Richard Heyes
Using this function, say I had two processes running, the parent accepting connections on an inet socket, is it possible for the parent to pass this socket connection onto the already existing child? -- Richard Heyes I know not with what weapons World War III will be fought, but World War IV

RE: [PHP] Re: Basic database questions.

2001-07-19 Thread Seb Frost
Thanks Steve that's exactly the kind of 100% definate answers I needed :-) Hadn't seen nor heard of front ends for it, will look into them! - seb -Original Message- From: Steve Brett [mailto:[EMAIL PROTECTED]] Sent: 19 July 2001 14:27 To: [EMAIL PROTECTED] Subject: [PHP] Re: Basic

Re[2]: [PHP] XSLT module bugs (?)

2001-07-19 Thread Maxim Derkachev
Hello Francis, Thursday, July 19, 2001, 5:43:37 PM, you wrote: FF The ® is because (well I think) of the utf-8 code, try utf8_decode() to FF decode it and to get it back. Not bugs, as I know now. xsl:output encoding='something' make the things work well. FF P.S. What is they command that you

Re: [PHP] XSLT module bugs (?)

2001-07-19 Thread Francis Fillion
Here what I use xslt_process($xslString, $xmlString, $this-result); and it give me this error Warning: Supplied argument is not a valid XSLT Processor resource in /home/httpd/html/xml/include/class.transform_xsl.php on line 74 Maxim Derkachev wrote: Hello Francis, Thursday, July 19,

[PHP] asdasd

2001-07-19 Thread yossi
sdasd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

Re[2]: [PHP] XSLT module bugs (?)

2001-07-19 Thread Maxim Derkachev
Hello Francis, Thursday, July 19, 2001, 6:05:55 PM, you wrote: FF Here what I use xslt_process($xslString, $xmlString, $this-result); FF and it give me this error FF Warning: Supplied argument is not a valid XSLT Processor resource in FF /home/httpd/html/xml/include/class.transform_xsl.php

[PHP] Paypal and PHP

2001-07-19 Thread ReDucTor
Hey, does any one know a way to use paypal with php? - James ReDucTor Mitchell

Re: [PHP] XSLT module bugs (?)

2001-07-19 Thread Francis Fillion
Hi again Maxim, when this problem started I found that in the xslt php cvs (because the manual on the php site doesn't seen to be accurate anymore) mixed xslt_process(resource processor, string xml, string xsl[,

RE: [PHP] Prevent user to close web browser

2001-07-19 Thread Taylor, Stewart
Then you should be using the ignore_user_abort function which keeps a script running even if a user shuts own their browser. http://www.php.net/manual/en/function.ignore-user-abort.php -Stewart -Original Message- From: Mihailo Dzigurski [mailto:[EMAIL PROTECTED]] Sent: 19 July 2001

Re: [PHP] Paypal and PHP

2001-07-19 Thread chris schneck
theexchangeproject.org has a module built into their store that works directly with paypal, ive set up and succesfully used it to tie into a paypal account. Although it might be a little more powerful than what you want, the code there shows which variables to be passed to paypal to make a

[PHP] I AM AT THE START POINT

2001-07-19 Thread Ali YILDIRIM
Hi; I am just at the beginning process to php. My question is: I type in notepad my php code ok allright but where will I test this? I know this is so simple but you know I am new to this and ... Please help.. __ Do You Yahoo!? Get personalized

[PHP] limiting text output

2001-07-19 Thread chris schneck
To anyone else who had the same problem, I thought i'd share the solution that was passed on to me. It was suggested that counting the # of characters in a string would work, and it does, but a better way to do it as not to cut yourself off in mid sentence is to count the # of actual words. --

Re: [PHP] Install problems

2001-07-19 Thread Michael Hall
I think that --config-file-path needs to be the path to apache, not php. --config-file-path=/usr/local/apache Check in the README.configure file in the Apache source directory. Mick On Thu, 19 Jul 2001, Chetan Ganpati wrote: Hello, I am trying to install PHP4 on a redhat 6.2 box. I have

[PHP] Session problems

2001-07-19 Thread Bernie Kruger
Hi, I use this simple session script below, but the session variables are not carried over from 1.php to 2.php. What can be wrong? I can see on the server that the files are created. When I open 1.php a 1K file is created on the server and the contents (my_session_variable|s:10:some value;).

[PHP] Using GnuPG with PHP

2001-07-19 Thread Jeff Bearer
I saw examples of how to encrypt data with GnuPG in the list archives but I'm having problems that aren't mentioned. I've installed the public key in the web server users key ring, and if I run the command as the web server user it works just fine. But when the script runs it I get nothing

[PHP] d

2001-07-19 Thread Jeff Bearer
-- Jeff Bearer, RHCE Webmaster PittsburghLIVE.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] Re: Session problems

2001-07-19 Thread Steve Brett
id' resgister the session var first then change / set it. don't actually know if it makes a diff Steve Bernie Kruger [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi, I use this simple session script below, but the session variables are not carried

[PHP] Re: Session problems

2001-07-19 Thread Bernie Kruger
Tried everything all of you suggested, still no luck :-( BK Bernie Kruger [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi, I use this simple session script below, but the session variables are not carried over from 1.php to 2.php. What can be wrong? I

[PHP] Encryption and perl

2001-07-19 Thread Paul Mugabi
Hello, I have been trying to get some stuff encrypted, sent by mail to another machine and then decrypted on the other end by a perl script. I am using base64 encoding to convert the encrypted data into ascii for transmission over email. However, the perl script at the other end which does the

RE: [PHP] Re: Basic database questions.

2001-07-19 Thread Seb Frost
Im using win2k, but I have no intetntion of serving a webpage off of it, I only have a 56k modem! I'll be running the website off of an ISP. Do I still need to install IIS and stuff? What for? - seb -Original Message- From: Steve Brett [mailto:[EMAIL PROTECTED]] Sent: 19 July 2001

RE: [PHP] I AM AT THE START POINT

2001-07-19 Thread Seb Frost
The most general way is to use FTP to upload the page you've just created to a server that supports PHP. This is normally done like this in windows: ftp://username:[EMAIL PROTECTED] Just fill in the relevant bits. - seb -Original Message- From: Ali YILDIRIM [mailto:[EMAIL PROTECTED]]

Re: [PHP] I AM AT THE START POINT

2001-07-19 Thread Matt Greer
on 7/19/01 9:33 AM, Ali YILDIRIM at [EMAIL PROTECTED] wrote: Hi; I am just at the beginning process to php. My question is: I type in notepad my php code ok allright but where will I test this? I know this is so simple but you know I am new to this and ... Please help.. You can

Re: [PHP] a goog whatever you want editor

2001-07-19 Thread Mauricio T?llez Jim?nez
What about Emacs? I think this is the most powerful, configurable and extensible. Not only good with PHP, but also pretty good for any programming language (C, C++, Java, Ada, Assembly, HTML, etc). You can compile your programs from Emacs, and even debug them. Also have a lot of add-on like

[PHP] Re: Session problems

2001-07-19 Thread Steve Brett
another thing you could try is find out where the php session data is stored and see if the session files are there - i think on win2k they are in c:\php\sessiondata ... Steve Bernie Kruger [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi, I use this simple

[PHP] Variable dump on error

2001-07-19 Thread Randy Miller
Using mod_perl when an error is encountered, I have a customized error screen that is defined in http.conf that is displayed to the user. This is just a customized 500 page that then emails me which page crashed and all of the local variables. I can't seem to find a way to do this in PHP

Re: [PHP] Re: Basic database questions.

2001-07-19 Thread Steve Brett
i meant for writing your code etc and testing. i generally write stuff on my windows machine and then ftp them to the production server after i've tested/debugges them etc. Steve Seb Frost [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Im using win2k, but I

Re[2]: [PHP] XSLT module bugs (?)

2001-07-19 Thread Maxim Derkachev
Hello Francis, Thursday, July 19, 2001, 6:18:58 PM, you wrote: FF Hi again Maxim, when this problem started I found that in the xslt php FF cvs (because the manual on the php site doesn't seen to be accurate FF anymore) FF mixed xslt_process(resource processor, FF string

Re: [PHP] Re: Simple validation problem

2001-07-19 Thread py
I wonder how that can be enough, if you consider the following form, you can enter 45-98 and it will print ok !! Since all http is coming as a string, I beleive the only way is to test for invalid characters as anything except [0-9] and the dot. (wich is my problem because I do not really know

Re: [PHP] Using GnuPG with PHP

2001-07-19 Thread Maxim Derkachev
Hello Jeff, Thursday, July 19, 2001, 6:50:18 PM, you wrote: JB $command=echo \$plain\|gpg -e -a --always-trust --no-secmem-warning --batch -r public_key; JB $encrypted=`$command`; use popen() in read mode instead. There's a class made by me at phpclasses.upperdesign.com that do the job. --

[PHP] bcmath functions no longer there?

2001-07-19 Thread E. Peter K. Chan
Hi I just did a rpm rebuild of PHP to 4.0.6 on RH7.1 and now the bcmath functions are failing Fatal error: Call to undefined function: bcsub() Any ideas on this one? Thanks Peter -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: [PHP] Re: Simple validation problem

2001-07-19 Thread py
Ok forget it, someone suggest to me: if ((string)((float)$amount) == $amount (float)$amount 0) { print ok; }else print error; and it works perfectly! py - Original Message - From: py [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, July 19, 2001 11:14 AM Subject: Re: [PHP]

RE: [PHP] Re: Session problems

2001-07-19 Thread Rudolf Visagie
Hi Bernie, Do a session_register in the second script as well: ?php session_start(); session_register(my_session_variable); print Value of 'my_session_variable': $my_session_variable; ? Rudolf Visagie -Original Message- From: Bernie Kruger [mailto:[EMAIL PROTECTED]] Sent: 19 July

Re[2]: [PHP] Prevent user to close web browser

2001-07-19 Thread Daniel Rezny
Hello all, Thursday, July 19, 2001, 2:53:03 PM, you wrote: SB have a javascript function that is fired when you load the index page. SB i have a calendar system that i wrote at work that is displayed in a window SB with most of the features turned off like toolbars etc. SB have a look at 'on

[PHP] image generation + SSL

2001-07-19 Thread Iztok Stotl
Hello ! I have a problem with image generation on secure sites (SSL) ;( When I open a new window from a file using SSL (relative adressing) : window.open(graf.php,Graf,location=no,toolbar=no,menubar=no,status=no,w idth=710,height=530); I get the message that there are also nonsecure elements

Re: [PHP] Re: Session problems

2001-07-19 Thread Steve Brett
you only need to register vars with the session once. Steve Rudolf Visagie [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi Bernie, Do a session_register in the second script as well: ?php session_start(); session_register(my_session_variable); print

Re: [PHP] Prevent user to close web browser

2001-07-19 Thread Matt Greer
on 7/19/01 10:30 AM, Tom Malone at [EMAIL PROTECTED] wrote: Netscape will warn the user that the script (javascript) is trying to close their main window. True, but JavaScript can't prevent the user from closing their web browser window, which is the basis of the original question.

[PHP] Re: I AM AT THE START POINT

2001-07-19 Thread Philip Olson
First, get another text editor. Since you're in windows, choose either editplus, textpad, ultraedit32, homesite or some other one, a list can be seen here : http://www.itworks.demon.co.uk/phpeditors.htm Although that's not a major deal. More importantly (and actually related to the topic),

[PHP] oracle

2001-07-19 Thread Marisol Díaz E.
Hi, I'm working with php4 and oracle in windows2000, I have problems with this variables. $lugar=D:\Oracle; $bdd=orant; PutEnv(ORACLE_SID=$bdd); PutEnv(ORACLE_HOME=$lugar); It don't work, I don't know what is the value of $lugar. Thanks. Marisol

[PHP] argh!!!!!! php406+gd

2001-07-19 Thread Kurth Bemis
i'm still battling with gd and php and freetype. This was a non issue before i upgraded to 4.0.6 look. Warning: libgd was not built with TrueType font support in /virt/jrehomes/www/tvhc/test/image.php on line 4 Warning: libgd was not built with TrueType font support in

Re: [PHP] Script Execution Time

2001-07-19 Thread Jome
I have a php script that returns about 1.5Mb of data in text format to the user. I am wondering if there is a way for php to display the time it took to execute the script at the end of the file. Put this at the top of the script: code function getmicrotime(){ list($usec, $sec) =

[PHP] A good PHP auto-reply system

2001-07-19 Thread scott [gts]
Can anyone reccomend a good PHP (or perl) Web-based email auto-reply thingy. I work at a company that hosts websites and provides POP email accounts, and i'd like to allow our clients to come to our website, log into a clients section and have more control over their service... I'd like to

[PHP] screen2

2001-07-19 Thread Jeremy Morano
Can anybody tell me how to refresh or clear a screen in php code and if not, please tell me,, It cannot be done. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators,

RE: [PHP] PHP mail() security hole on 4.0.5+

2001-07-19 Thread Johnson, Kirk
-Original Message- From: Michael Geier, CDM Systems Admin [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 19, 2001 9:39 AM To: PHP Mailing List Subject: [PHP] PHP mail() security hole on 4.0.5+ http://www.net-security.org/text/bugs/995534103,28541,.shtml Anyone have suggestions

[PHP] Restoring a backup

2001-07-19 Thread Don
Hi, I have a cron script that issues a: mysqldump --opt -ppassword myfile_db /home/ftpadmin/pub/myfile_db.backup Now, I wish to do the opposite, that is, restore it into my database. After issuing a: mysql -p and entering the password, what command do I enter to restore my database from

Re: [PHP] Restoring a backup

2001-07-19 Thread Francis Fillion
mysql -u yourusername -p password myfile_db /home/ftpadmin/pub/myfile_db.backup Don wrote: Hi, I have a cron script that issues a: mysqldump --opt -p myfile_db /home/ftpadmin/pub/myfile_db.backup Now, I wish to do the opposite, that is, restore it into my database. After issuing

[PHP] Cookies IE

2001-07-19 Thread Enrique Rodríguez Lázaro
Hi. Why IE doesn't receive a cookie and Netscape receive it? Server Apache 1.3.19 PHP4 (4.0.6) ./configure --with-mysql \ --with-apxs=/usr/local/apache/bin/apxs \ --enable-trans-sid php.ini [only most importants] session.use_cookies = 1 session.auto_start = 0

RE: [PHP] Re: Session problems

2001-07-19 Thread Rudolf Visagie
I use only sessions and my scripts do not work if I do not register the session variables I want in each script. Otherwise they work fine. R -Original Message- From: Steve Brett [mailto:[EMAIL PROTECTED]] Sent: 19 July 2001 05:39 To: [EMAIL PROTECTED] Subject: Re: [PHP] Re: Session

[PHP] encryption

2001-07-19 Thread Tom Malone
Hello! I have a small problem. On my website there is some information I would like to protect. Right now I am using .htaccess to password-protect the directory, but I was thinking about using php and a form with usernames/passwords in a MySQL database. Thankfully, I read the following in the

Re: [PHP] Re: Session problems

2001-07-19 Thread Jason Bell
I have a file that I include at the beginning of every .php file it contains the following code, and works perfectly: session_start(); if (!$PHPSESSID) { session_register('sess_uid'); session_register('sess_acl');

[PHP] Re: A good PHP auto-reply system

2001-07-19 Thread Philip Hallstrom
If each user has an actual account on the system you could have php integrate with the vacation program (man vacation) On Thu, 19 Jul 2001, scott [gts] wrote: Can anyone reccomend a good PHP (or perl) Web-based email auto-reply thingy. I work at a company that hosts websites and provides

RE: [PHP] Re: Basic database questions.

2001-07-19 Thread Miles Thompson
It's also worth remembering that there is a console for mysql, so you can enter commands directly. There are also tutorials at places like devshed and webdev etc. that take you through all ofthe basic administrative stuff. Search for something like mysql tutorial in google. Miles At 02:55

Re: [PHP] a good PHP editor

2001-07-19 Thread ~~~i LeoNid ~~
On Thu, 19 Jul 2001 00:21:47 -0700 impersonator of [EMAIL PROTECTED] (Evan Nemerson) planted I saw in php.general: You wouldn't happen to be ...abridging the freedom of speech..., would you??? No, not everyone knows about astalavista.box.sk. However, most of us do. Why? Because people told us

RE: [PHP] Re: Basic database questions.

2001-07-19 Thread Miles Thompson
You need a web server to operate on your PHP scripts. The win32 version of Apache is reliable and free, I'd recommend it. I believe you have the option of installing it as a program or as a service. Miles At 03:40 PM 7/19/01 +0100, Seb Frost wrote: Im using win2k, but I have no intetntion of

  1   2   >