Re: [PHP] MySQL Database backup

2001-08-27 Thread Alex Sofronie
I didn't want to cron the backup, just when the admin does :). Thanks anyway and here is the solution i came up with: It's based on a prior answer (thanks, Chris L.) and a pror discussion about forcing download in IE 5.5: This will work with IE 5.0, 5.5, NN6, NN4 (PC-Windows98/Me/2000) and NN4

[PHP] header()

2001-08-27 Thread Alex Sofronie
Hi all! Anybody knows where i can find a complete list with headers? A list with what i can send with the header() function? And what thy mean? Thanks Alex Sofronie [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional co

[PHP] RE: What development environment do you use for PHP?

2001-08-27 Thread Andrew Chase
I keep my web documents in a CVS repository on a Linux box, and use WinCVS (GNU) to check files in and out on my WinNT desktop. I use ConTEXT (freeware) for editing. Documentation and help are always available at php.net and google.com. I have an Apache 'staging' server, and to keep the docume

Re: [PHP] header()

2001-08-27 Thread Kurth Bemis
At 04:09 PM 8/27/2001, Alex Sofronie wrote: read the http 1.1 RFC >Hi all! > >Anybody knows where i can find a complete list with headers? A list with >what i can send with the header() function? And what thy mean? >Thanks > >Alex Sofronie >[EMAIL PROTECTED] > > > >-- >PHP General Mailing List (

Re: [PHP] RE: What development environment do you use for PHP?

2001-08-27 Thread John Meyer
At 01:21 PM 8/27/01 -0700, you wrote: >I keep my web documents in a CVS repository on a Linux box, and use WinCVS >(GNU) to check files in and out on my WinNT desktop. I use ConTEXT >(freeware) for editing. Documentation and help are always available at >php.net and google.com. I have an Apach

Re: [PHP] The future of PHP

2001-08-27 Thread Zeev Suraski
At 12:46 27-08-01, Alexander Skwar wrote: >So sprach »Zeev Suraski« am 2001-08-27 um 09:40:40 +0300 : > > Regarding source code hiding, you can use the Zend Encoder. Pricing wise, > > the lowest you can get it for right now is $50/month, which may be too > high > > for certain developers. > >Uhm

RE: [PHP] RE: What development environment do you use for PHP?

2001-08-27 Thread Andrew Chase
WinCVS is available from http://www.wincvs.org - they also have Mac and X versions, although I've never tried them. -Andy > -Original Message- > From: John Meyer [mailto:[EMAIL PROTECTED]] > > Where do you get WinCVS , by the by? > -- PHP General Mailing List (http://www.php.net/) To

[PHP] Use PHP to connect to Oracle 8i database

2001-08-27 Thread toni baker
Hi I want to use php to connect to an Oracle 8i database. I have 2 questions: 1) does the webserver have to be installed on the database server? 2) do you have to use the OCI libraries? Thanks Toni __ Do You Yahoo!? Make international

[PHP] A Separate Process?

2001-08-27 Thread Pickup, Jordan
Is there any way to make a separate process in PHP? I do real-time stats collection on my site and one of the things I collect is the domain of the user (to get their country). Sometimes getting the domain name takes a few seconds to come back and the user has to wait for that time before their

Re: [PHP] Use PHP to connect to Oracle 8i database

2001-08-27 Thread Joe Conway
> I want to use php to connect to an Oracle 8i database. > > I have 2 questions: > 1) does the webserver have to be installed on the > database server? No -- you just have to configure your tnsnames.ora so that the web server can connect. Try sqlplus first. If you can connect with sqlplus, yo

[PHP] Using PHP to move a row of information to another table

2001-08-27 Thread Brandon Orther
Hello, In MSSQL: I want to take one row of information from one table and put it into another row. Does anyone know of an easy way? Or do I have to go column by column copying each column into the new table? Thank you, Brandon Orther WebIntel

Re: [PHP] Use PHP to connect to Oracle 8i database

2001-08-27 Thread Andrew Hill
Toni You don't have to use the OCI libraries if you use ODBC. Compiling PHP --with-iodbc as per the HOWTO at www.iodbc.org will get you started. Non-expiring ODBC drivers with a 2-connection license are available as a free download from http://www.openlinksw.com. Free support is also availa

RE: [PHP] Re: The future of PHP -- accessory libraries

2001-08-27 Thread Rasmus Lerdorf
> I love PHP, but for the following reason it could be the death of it. All > the PHP intellectuals stand up, get together, and solve this problem, or at > least give us some reassurance. (I'm only a newbie after all). :) This is solved by people who roll distributions. Debian, Mandrake, RedHat

[PHP] payflow pro hosed

2001-08-27 Thread Dan Harrington
Hello, I am having a problem with an ISP that has installed the payflow pro (top of phpinfo shown) and yet it keeps showing up as an unknown function. PHP Fatal error: Call to undefined function: pfpro_init() in /. PHP Fatal error: Call to undefined function: pfpro_process() in /. I

[PHP] POST to port 443 (SSL)

2001-08-27 Thread Patrick Calkins
Hello, I am trying to use the UPS Online Tools, the XML version. This requires you POSTing an XML document to their Tools server, which is SSL enabled. I am having a problem getting this to connect in PHP (4.0.6) on my server (Apache 1.3.20). In my scripts, I use $Socket = fsockopen (www.ups.c

[PHP] Re: appear in Text file

2001-08-27 Thread Andy Ladouceur
Hi Jack, The 'black box' you see is a newline, which can be removed by doing this: $string=str_replace("\n","",$string); $string=str_replace("\r","",$string); That will replace \n (The newlines) and \r (The returns) with nothing, getting rid of your problem. Hope this helps, -Andy Jack <[EMAIL PR

[PHP] Pretty Formatter for PHP?

2001-08-27 Thread Joel Ricker
While I try and adhere to good formatting and punctuation practice in my coding, sometimes in my haste to write code I don't have time to properly format my code especially when I do a copy and paste and the indents don't follow the new code. Are there any apps available that will properly forma

[PHP] Reading php source code?

2001-08-27 Thread Seb Frost
How hard is it for someone to somehow read the source code out of my php files on my isp hosted website. They use linux & apache & php 4.0.6. I ask because in my logfile it seems someone accessed a uniquely named not-guessable folder in my web root. It is mentioned in my source code. I use ima

RE: [PHP] Reading php source code?

2001-08-27 Thread Jason Murray
> How hard is it for someone to somehow read the source code out of my php > files on my isp hosted website. They use linux & apache & php 4.0.6. Pretty hard, assuming your code is not output at any point. > I ask because in my logfile it seems someone accessed a uniquely named > not-guessable

[PHP] $HTTP_POST_VARS

2001-08-27 Thread Andy Ladouceur
Hello all, I am wondering if there is a command or function to get a list of all the current '$HTTP_POST_VARS["variable"]' variables? Or, a user-created way... Any helps appreciated, thanks! -Andy L. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] Fo

[PHP] Multiple JavaScript Windows

2001-08-27 Thread Carlos Fernando Scheidecker Antunes
Hello All, I need to have multiple JavaScripts windows with my database PHP script. The idea is to have a main Page and links to pop-up JavaScript Windows to enter information on the database. Once these windows are closed the main PHP page need to be automaticaly updated. The Database is a R

RE: [PHP] PHP mysql admin?

2001-08-27 Thread Christian Dechery
phpMyAdmin is very nice... but not even close to Mysqlfront... try it out... http://www.mysqlfront.de/ At 10:38 27/8/2001 -0500, Joseph Bannon wrote: >Thanks. I'll give it a try. > >Joseph > > >-Original Message- >Try phpMyAdmin > >http://phpwizard.net/ > > >- Original Message -

Re: [PHP] $HTTP_POST_VARS

2001-08-27 Thread Tim
while (list($k,$v) = each($HTTP_POST_VARS)) { echo "$k = $v"; } On Mon, 2001-08-27 at 21:48, Andy Ladouceur wrote: > Hello all, > I am wondering if there is a command or function to get a list of all the > current '$HTTP_POST_VARS["variable"]' variables? Or, a user-created way... > Any h

Re: [PHP] Certification

2001-08-27 Thread Christian Dechery
The real reason I was looking for some kind of certification, is the course I'm trying to start. Here in Rio de Janeiro, there are ZERO PHP Training Courses (in all Brazil I don't think there are more than three), and I think Certification is the reason. All other courses has a certification o

RE: [PHP] $HTTP_POST_VARS

2001-08-27 Thread Jason Murray
> I am wondering if there is a command or function to get a > list of all the current '$HTTP_POST_VARS["variable"]' variables? > Or, a user-created way... Any helps appreciated, thanks! You can use var_dump($HTTP_POST_VARS); Jason -- PHP General Mailing List (http://www.php.net/) To unsubscr

Re: [PHP] PHP mysql admin?

2001-08-27 Thread Jason Brooke
Just gave it a go, it hangs for ages connecting to my servers with many databases, and takes ages to retrieve record sets that load much much faster via the phpmyadmin html interface phpmyadmin, although plenty buggy on certain actions, is far better to use for me so far - Original Message

Re: [PHP] $HTTP_POST_VARS

2001-08-27 Thread Andy Ladouceur
Ah, its that simple? -feels likea bit of an idiot- Thanks for the help! Tim <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > while (list($k,$v) = each($HTTP_POST_VARS)) { > echo "$k = $v"; > } > > On Mon, 2001-08-27 at 21:48, Andy Ladouceur wrote: > > Hello all

Re: [PHP] $HTTP_POST_VARS

2001-08-27 Thread Andy Ladouceur
Thanks! -Andy Jason Murray <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > I am wondering if there is a command or function to get a > > list of all the current '$HTTP_POST_VARS["variable"]' variables? > > Or, a user-created way... Any helps appreciated, thank

Re: [PHP] PHP mysql admin?

2001-08-27 Thread Chris Fry
Tried to download this but it bombs after about 55k of the 895k. Seriously broken Chris Christian Dechery wrote: > phpMyAdmin is very nice... > but not even close to Mysqlfront... try it out... > > http://www.mysqlfront.de/ > > At 10:38 27/8/2001 -0500, Joseph Bannon wrote: > >Thanks. I'll giv

[PHP] file uploads & windows clients

2001-08-27 Thread Gerard Samuel
Hey all. I have a problem. I made a script that handles file uploads, and all the while I was testing on mozilla and netscape, totally forgot about IE. I have it set to only accept jpeg pics. It works no problem on mozilla and netscape, but IE isnt do too well. When I try to upload a jpeg

[PHP] new socket() function in PHP which is > 4.0.6

2001-08-27 Thread Scott Mebberson
Hi Guys, I am trying to setup a socket relay server. Has anyone tried this? Thanks Scott. -- 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 PROTECT

[PHP] Need help on putting variable into

2001-08-27 Thread Hugh Danaher
Help. I have a page with a form with lots of text boxes which can be filled with data from a text file. the fopen() and fgets() works, and the text boxes which require numbers have no problems. But, I have text boxes which require several words of text and they refuse to work right. The fir

Re: [PHP] $HTTP_POST_VARS

2001-08-27 Thread pierre-yves
something like this... if( sizeof( $HTTP_POST_VARS ) > 0 ){ // avoid error when no vars while ( list ( $key, $val ) = each ( $HTTP_POST_VARS )) { print "$key = $val"; } } py - Original Message - From: "Andy Ladouceur" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent:

[PHP] Re: Need help on putting variable into

2001-08-27 Thread Andy Ladouceur
Well,think about it like this: If you did replace $comp name with ABC Company, this is what you'd get: Not quite right, eh? This will solve your problem: print ""; =) -Andy Hugh Danaher <[EMAIL PROTECTED]> wrote in message 001201c12f71$75a45b40$c1fcb3d1@win95">news:001201c12f71$75a45b40$c1fcb

Re: [PHP] file uploads & windows clients

2001-08-27 Thread Gerard Samuel
Ok, I tried the to replicate on different browsers. Microsoft IE 5.5 ,6 beta & Opera 5 all show this problem. Here are some snippets of the code that Im using. Thanks <---snip---> echo "\n"; <---snip---> echo "   \n"; <---snip---> if ($pic_type != "image/jpeg") { echo "Pleas

Re: [PHP] Re: Need help on putting variable into

2001-08-27 Thread Hugh Danaher
Andy, Thank you. It Works! Hugh - Original Message - From: Andy Ladouceur <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, August 27, 2001 8:35 PM Subject: [PHP] Re: Need help on putting variable into > Well,think about it like this: > If you did replace $comp name with ABC Co

Re: [PHP] Re: Need help on putting variable into

2001-08-27 Thread Andy Ladouceur
No problem. With the space in there, it considered Company as something separate... -Andy Hugh Danaher <[EMAIL PROTECTED]> wrote in message 000801c12f74$62b93020$3907f4d8@win95">news:000801c12f74$62b93020$3907f4d8@win95... > Andy, > Thank you. It Works! > Hugh > - Original Message - > Fro

[PHP] Formatting Dates in Form before submit

2001-08-27 Thread Traci P Sumpter
Can anyone tell me how to use the strtotime function within the on change event of a text box?? I need to format the date before submit the form because once it submits it dynamically creates a SQL statement. Is it best to use vbscript or Jscript and if so how? Thanks in advance. -- PHP Gen

[PHP] Re: Formatting Dates in Form before submit

2001-08-27 Thread Andy Ladouceur
PHP is a processed before the output is sent to the browser, so a dynamic change like what you want with it isn't possible. And unfortunately,I dont know any JScript, or VBScript, so I can't help ya there.. =/ -Andy Traci P Sumpter <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAI

[PHP] Disabling certain functions per directory

2001-08-27 Thread Andy Ladouceur
I'd like to use the disable_functions command from the php.ini file to disable certain functions for certain directories. I know it has to do with the httpd.conf file, but have no clue on how to go about doing it, can someone please post an example for me?With the directory I want things disabled

RE: [PHP] PHP mysql admin?

2001-08-27 Thread Navid Yar
Thank you! :) Navid Yar -Original Message- From: Christian Dechery [mailto:[EMAIL PROTECTED]] Sent: Monday, August 27, 2001 8:58 PM To: Joseph Bannon; PHP (E-mail) Subject: RE: [PHP] PHP mysql admin? phpMyAdmin is very nice... but not even close to Mysqlfront... try it out... http://

RE: [PHP] PHP mysql admin?

2001-08-27 Thread Navid Yar
I downloaded it and it was fine for me. Installation only requires you to unzip the files into some folder and run the Executable. Very easy and quick. I like it, so far. I like the GUI better than phpMyAdmin... -Original Message- From: Chris Fry [mailto:[EMAIL PROTECTED]] Sent: Monday, A

Re: [PHP] Web page authentications

2001-08-27 Thread senthilvellan
Hello Admin, The following example will help you HTTP Authentication example Hello $PHP_AUTH_USER."; echo "You entered $PHP_AUTH_PW as your password."; } ?> HTTP Authentication example forcing a new name/pas

[PHP] virtual() call to CGI script

2001-08-27 Thread Egan
I use the PHP virtual() function to call a CGI script, and that works fine. But I need to prevent the CGI from being executed directly, in case someone tries to access its URL. Since HTTP_REFERER is unreliable, I was wondering how others have solved this problem ... Egan -- PHP General Ma

Re: [PHP] virtual() call to CGI script

2001-08-27 Thread Jason Brooke
> I use the PHP virtual() function to call a CGI script, and that works > fine. But I need to prevent the CGI from being executed directly, in > case someone tries to access its URL. > > Since HTTP_REFERER is unreliable, I was wondering how others have > solved this problem ... > > > Egan move i

[PHP] MySQL query length

2001-08-27 Thread Niklas Lampén
Can it cause any problems if mySQL query is very long? I have to compare many words to many fields in my DB and I've done it like "Field LIKE '%searchword%' || Field LIKE '%searchword%' || Field LIKE '%searchword%'.". Query is build by a function, so I don't know the exact length but it is

[PHP] session.use_cookie

2001-08-27 Thread Richard Baskett
Could someone tell me how session.use_cookie works? To me it seems that if this is enabled and the user has cookies off.. then sessions will not work period. Any help on this would be appreciated :) Rick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECT

RE: [PHP] MySQL query length

2001-08-27 Thread Kees Hoekzema
You can alter the packetsize mysql will accept, you can find out the current setting with a "show variables" query, look for the max_allowed_packet var. You can alter it in your my.cnf file. (i have it on 25M atm). - Kees > -Original Message- > From: Niklas Lampén [mailto:[EMAIL PROTECT

Re: [PHP] PCRE Multiline modifier

2001-08-27 Thread _lallous
Thanks! But I still nned to escape, but only once. I mean '<\/pre>' instead of '<\\/pre>'. "Andrey Hristov" <[EMAIL PROTECTED]> wrote in message 004401c12f02$ae5a2d30$0b01a8c0@ANDreY">news:004401c12f02$ae5a2d30$0b01a8c0@ANDreY... > I think that is the solution: > >$mem = "hello world\nI love

[PHP] Re: MySQL query length

2001-08-27 Thread CC Zona
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Niklas lampén) wrote: > Can it cause any problems if mySQL query is very long? I have to compare > many words to many fields in my DB and I've done it like > "Field LIKE '%searchword%' || Field LIKE '%searchword%' || Field LIKE > '%searchwor

<    1   2