RE: [PHP] PHP_SELF NEW.....?????Continue2

2001-09-03 Thread Ardani Sarjito
Hi again! Thank you for those who have reply my email. Actually I'm trying to make a hangman game for my students. I have seen one game written using PHP_SELF but I can't understand who it works. So, with the PHP_self (in my hangman game) I probably can send the value of my variable to the sam

RE: [PHP] PHP_SELF NEW.....?????Continue

2001-09-03 Thread Jason Murray
> my next question is: how does it work when I use PHP_SELF to > send a value of a variable to the same page? You use it to point your there. Now, if the file this form is in gets renamed from foo.php to bar.php, the form won't break. Jason -- Jason Murray [EMAIL PROTECTED] Web Develop

RE: [PHP] PHP_SELF NEW.....?????Continue

2001-09-03 Thread Ardani Sarjito
Thanks for your quick reply. my next question is: how does it work when I use PHP_SELF to send a value of a variable to the same page? Thanks! Ardani -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[PHP] How to replicate a table in Mysql?

2001-09-03 Thread Balaji Ankem
Hi friend, I want to replicate the table which is existed in database of Mysql. Thanks in advance. Regards -Balaji - Information transmitted by this E-MAIL is proprietary to

Re: [PHP] PHP_SELF NEW.....?????

2001-09-03 Thread David Robley
On Tue, 4 Sep 2001 08:58, Ardani Sarjito wrote: > hi! > > I have tried to undersatand the usage of PHP_SELF but I still don't get > it. Could anybody please explain it in simple palin English to this > poor slow guy who has just learn PHP? > > Thank you so much for reviewing this email. > > I'm j

[PHP] PHP_SELF NEW.....?????

2001-09-03 Thread Ardani Sarjito
hi! I have tried to undersatand the usage of PHP_SELF but I still don't get it. Could anybody please explain it in simple palin English to this poor slow guy who has just learn PHP? Thank you so much for reviewing this email. I'm just tring to make a game which require this function but luck is

Re: [PHP] If PHP4 existed in 1995 we would of taken over the worldby now

2001-09-03 Thread Bob
Do we have spies on the ASP list? What are they doing on their end? Now don't get me wrong, I've been coding with PHP and have read every tutorial and article I can get my hands on in regards to PHP so I don't want to see my time invested go to waste. Maybe I should be asking on the developers

RE: [PHP] Side Comment (was: Newbie Question: Converting PHP3 files to PHP4?)

2001-09-03 Thread Christopher William Wesley
On Tue, 4 Sep 2001, Jason Murray wrote: > But then, the right tools make the job easy regardless of > platform. For sure! I don't bother with all that clicking ... now you [Unix folk] don't have to either :) #!/bin/sh for PHP3FILE in `find . -type f -name "*.php3" -print` do PHP4FILE=`e

Re: [PHP] Newbie Question: Converting PHP3 files to PHP4?

2001-09-03 Thread Jack Sasportas
One thing I noticed when I did some updates to a few of our programs, is that certain comment lines caused strange errors, and really nothing else. I basically made a backup copy removed comments, and then added them back in which made everything work...not sure if somehow the older box ( using pi

RE: [PHP] Side Comment (was: Newbie Question: Converting PHP3 files to PHP4?)

2001-09-03 Thread Jason Murray
> Rather than the web server config, I was referring to renaming > all the .php3 files to have .php extensions, and combing through > all the files, finding all references to .php3 files, and changing > them to refer to .php files. I know exactly how to do it ... I > do similar tasks routine

Re: [PHP] Side Comment (was: Newbie Question: Converting PHP3 files to PHP4?)

2001-09-03 Thread Joel Ricker
: On Tue, 4 Sep 2001, Jason Murray wrote: : : > Nah, in Illegal Monopoly OS, its just as easy as Apache. : : Rather than the web server config, I was referring to renaming all the : .php3 files to have .php extensions, and combing through all the files, : finding all references to .php3 files, and

RE: [PHP] Side Comment (was: Newbie Question: Converting PHP3 filesto PHP4?)

2001-09-03 Thread Christopher William Wesley
On Tue, 4 Sep 2001, Jason Murray wrote: > Nah, in Illegal Monopoly OS, its just as easy as Apache. Rather than the web server config, I was referring to renaming all the .php3 files to have .php extensions, and combing through all the files, finding all references to .php3 files, and changing th

RE: [PHP] Newbie Question: Converting PHP3 files to PHP4?

2001-09-03 Thread Jason Murray
> OOOH ... Nasty! If the admin can't add the .php3 extension > for you, then you'll be stuck renaming files, and correcting > references within them. Shouldn't be hard to add either way :) > If it's a unix host, it's not that painful ... just a small > shell script, and a sed script. (In Il

Re: [PHP] Want mysql dump to be mailed to me....

2001-09-03 Thread Christopher William Wesley
On Tue, 4 Sep 2001, sagar wrote: > I have a remote server running my website. I've to make the backup of the mysql db > i'm using. i can use mysqldump for this. but i'm not sure where the file will be >created > on the server and also i want to make that file to .zip and then download it to my

Re: [PHP] Newbie Question: Converting PHP3 files to PHP4?

2001-09-03 Thread Christopher William Wesley
On Mon, 3 Sep 2001, Michelle Marcicki wrote: > I am NOT running the server. I am using a local ISP (excellent guy but not > really accessible on this long weekend), so I have no control over what the OOOH ... Nasty! If the admin can't add the .php3 extension for you, then you'll be stuck renami

[PHP] Want mysql dump to be mailed to me....

2001-09-03 Thread sagar
Hi friends, I have a remote server running my website. I've to make the backup of the mysql db i'm using. i can use mysqldump for this. but i'm not sure where the file will be created on the server and also i want to make that file to .zip and then download it to my pc. how can i do this. Please

Re: [PHP] password why?

2001-09-03 Thread David Robley
On Tue, 4 Sep 2001 12:06, Gary wrote: > Hello Everybody, > I have a script that checks if the password and password confirm are > the same on a sign up page. It seems that if the password is already in > the db it prints out passwords do not match like the password and > confirm do not match. Why

RE: [PHP] Newbie Question: Converting PHP3 files to PHP4?

2001-09-03 Thread Jason Murray
> OR is there only a server fix and nothing that I can do at my > end as far as code or file name changes? Changing all your file names and links in the files is very time-consuming and not really necessary. If you can wait until tomorrow morning, the change that the guy who runs the server can

RE: [PHP] How to get the referer value?

2001-09-03 Thread Jason Murray
> How to get the referer value in the PHP.(getHeader(Referer)) That'll be in $HTTP_REFERER, then. (Hint: try phpInfo() and see if it's in there) Jason -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [PHP] How to get the referer value?

2001-09-03 Thread jacky
use http_referer(); - Original Message - From: Balaji Ankem To: [EMAIL PROTECTED] Cc: Renze Munnik Sent: Monday, September 03, 2001 10:40 PM Subject: [PHP] How to get the referer value? Hi! friend, How to get the referer value in the PHP.(getHeader

[PHP] How to get the referer value?

2001-09-03 Thread Balaji Ankem
Hi! friend,          How to get the referer value in the PHP.(getHeader(Referer))   Thanks in advance. -Balaji   - Information transmitted by this E-MAIL is proprietary

Re: [PHP] Newbie Question: Converting PHP3 files to PHP4?

2001-09-03 Thread Michelle Marcicki
Sorry to all who responded already.. I guess some further clarification is needed... opps :) I am NOT running the server. I am using a local ISP (excellent guy but not really accessible on this long weekend), so I have no control over what the server's configuration is (at least until tomorr

RE: [PHP] How to index HTML fields for Javascript and PHP at same time?

2001-09-03 Thread Brett
>When I write then I can see values >in PHP sccript, BUT can't see values in javascript mode, thats to say >document.form.myfield[index].value doesnt work. >On the other side, when I make I can >see indexed values in Javascript BUT not in PHP script. I use the following in my javascript to w

Re: [PHP] Newbie Question: Converting PHP3 files to PHP4?

2001-09-03 Thread Rasmus Lerdorf
Just configure your server to serve up .php3 files as PHP 4. ie. add this line to your httpd.conf file: AddType application/x-httpd-php .php .php3 And get rid of your other AddType line. -Rasmus On Mon, 3 Sep 2001, Michelle Marcicki wrote: > Hi there, > > I have recently taken over the webma

RE: [PHP] Newbie Question: Converting PHP3 files to PHP4?

2001-09-03 Thread Jason Murray
Just fiddle the configuration of the server so that it recognises .php3 files as if they were .php. In Apache, this means you find this line in the config: AddType application/x-httpd-php .php And add one just like it nearby: AddType application/x-httpd-php .php3 Also, fiddle the Director

Re: [PHP] Newbie Question: Converting PHP3 files to PHP4?

2001-09-03 Thread Christopher William Wesley
On Mon, 3 Sep 2001, Michelle Marcicki wrote: > website. It is using PHP3 and MySQL. We had to move it to a new server, that > as it turns out only supports PHP4. I have been looking through all the FAQs, Are you running an Apache web server? If so, add this line to your httpd.conf file and r

[PHP] Newbie Question: Converting PHP3 files to PHP4?

2001-09-03 Thread Michelle Marcicki
Hi there, I have recently taken over the webmaster responsibility for an educational website. It is using PHP3 and MySQL. We had to move it to a new server, that as it turns out only supports PHP4. I have been looking through all the FAQs, resource sites, manuals and documentation, but all

Re: [PHP] How to index HTML fields for Javascript and PHP at sametime?

2001-09-03 Thread Christopher William Wesley
On Mon, 3 Sep 2001, Miguel wrote: > I need to refer these fields like vector in PHP and Javascript mode. > When I write then I can see values > in PHP sccript, BUT can't see values in javascript mode, thats to say > document.form.myfield[index].value doesnt work. > On the other side, when I make

Re: [PHP] How to index HTML fields for Javascript and PHP at same time?

2001-09-03 Thread pierre-yves
Hello, maybe you could have a hidden field named myfield[], this one will be for the index in php that you will build with a javascript function when you submit the form. py - Original Message - From: "M" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, September 03, 2001 10:12

[PHP] How to index HTML fields for Javascript and PHP at same time?

2001-09-03 Thread M
Hello, I have table with lot of fields. I need to refer these fields like vector in PHP and Javascript mode. When I write then I can see values in PHP sccript, BUT can't see values in javascript mode, thats to say document.form.myfield[index].value doesnt work. On the other side, when I make I

[PHP] password why?

2001-09-03 Thread Gary
Hello Everybody, I have a script that checks if the password and password confirm are the same on a sign up page. It seems that if the password is already in the db it prints out passwords do not match like the password and confirm do not match. Why? //check if passwords match if ($pas

Re: [PHP] Am I right or wrong?

2001-09-03 Thread David Robley
On Tue, 4 Sep 2001 10:50, Dave Freeman wrote: > to change their policy or vote with your feed and move elsewhere. Somehow I think they'd be less than pleased if he were to tip his feed all over their server :-) -- David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc CENTRE FO

Re: [PHP] Am I right or wrong?

2001-09-03 Thread Dave Freeman
On 4 Sep 01, at 1:14, Seb Frost wrote: > My ISP has a limit on my site of 10,000MB of data transfer per month. > > 4 days into september and I'm already at 2,500MB. It would seem they're > including requests by their own PHP server. > > I have a folder of ~80kb images that are dynamically resi

[PHP] Extensions question...

2001-09-03 Thread Eric Knudstrup
I have been searching for this in the Zend docs and examples, but I don't see it anywhere. In a PHP extension how do I access the elements of an array that has been passed in? Thanks, Eric "My mother's maiden name is not a password; my social security number is not a PIN" - Kevin Mitnick --

RE: [PHP] Attaching stuff

2001-09-03 Thread Jason Murray
Yep, But you need to use a MIME email with file attachments. Simple way to produce a MIME email: http://planetkiller.shadow.net.au/mime-php.txt Jason -- Jason Murray [EMAIL PROTECTED] Web Developer, Melbourne IT "Work now, freak later!" > -Original Message- > From: Max Mouse [mailto

RE: [PHP] Am I right or wrong?

2001-09-03 Thread Seb Frost
Hmmm, I suppose the files and the php server may be on different machines - hadn't thought of that :-) I guess I need to make a compromise on my script then. - seb -Original Message- From: Chris Wesley [mailto:[EMAIL PROTECTED]]On Behalf Of Christopher William Wesley Sent: 04 September

[PHP] Attaching stuff

2001-09-03 Thread Max Mouse
I want to be able to include a graphic or something of that sort in a form mail (using mail() from ). Is this possible? Max -- 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 admini

[PHP] Thankyou, whoever

2001-09-03 Thread Seb Frost
Someone on this list yesterday exposed a large hole on one of my php scripts. Dunno who you are but thankyou. I could have lost sales in that loophole :-) I know it was off of this list because that's the only place I made that link public. Some lucky guy on BT openworld - wish I could get tha

Re: [PHP] Re: probs with exec, pls help (still)

2001-09-03 Thread David Robley
On Mon, 3 Sep 2001 19:36, taz wrote: > Hi > > I've put the full path in for mysql, i've included -h -u -p and > included the paths of the txt & table files > > Still don't work. > > I'm logged in as root, working on my own box (linux) . > I'm really struggling with this one. > Has anyone out ther

Re: [PHP] Am I right or wrong?

2001-09-03 Thread Christopher William Wesley
On Tue, 4 Sep 2001, Seb Frost wrote: > I have a folder of ~80kb images that are dynamically resized using PHP into > ~1.4kb thumbnails. Now for each one the PHP server sends an HTTP request > for the 80kb image, and this is being counted against my 10,000MB. > > Should it? Am I in the right in

[PHP] Re: PHP Authentication on Apache

2001-09-03 Thread Alfredo Yong
Yes. It works. It is great. if(!isset($PHP_AUTH_USER) or $PHP_AUTH_USER != "myuser" or $PHP_AUTH_PW != "mypassword") { Header("WWW-Authenticate: Basic realm=\"Only authorizeds web\""); Header("HTTP/1.0 401 Unauthorized"); echo "ha!\n"; exit; } Lynn Holt wrote: > Hi al

RE: [PHP] Am I right or wrong?

2001-09-03 Thread Cristopher Daniluk
It's wrong of them?!?! Not to sound irrational here, but you're DOWNLOADING the file every time, even if you are downloading it every time. Why are you opening it through HTTP? Why not directly via the FS? If you're local to the machine, that seems more intelligent. If you're not local to the mach

Re: [PHP] Am I right or wrong?

2001-09-03 Thread Stig-Ørjan Smelror
> My ISP has a limit on my site of 10,000MB of data transfer per month. > > 4 days into september and I'm already at 2,500MB. It would seem > they're including requests by their own PHP server. > > I have a folder of ~80kb images that are dynamically resized using PHP > into ~1.4kb thumbnails.

[PHP] Am I doing this right? (PHP3/Login system)

2001-09-03 Thread Joel Ricker
I'm tring to get a login system going using PHP3 and MySQL. I'll have two tables -- one containing the username and passwords of each user plus a variable called Access which will hold what other parts of the scripts they'll have access to and another containing the actual logged in sessions. I'm

[PHP] insert into problems.

2001-09-03 Thread Martin
Can someone tell me whats wrong with this... im getting a " Syntax error in INSERT INTO statement "... but i cant find anything wrong with the sql code., or have i missed something..? /martin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For

[PHP] Am I right or wrong?

2001-09-03 Thread Seb Frost
My ISP has a limit on my site of 10,000MB of data transfer per month. 4 days into september and I'm already at 2,500MB. It would seem they're including requests by their own PHP server. I have a folder of ~80kb images that are dynamically resized using PHP into ~1.4kb thumbnails. Now for each

[PHP] PHP and OLE objects

2001-09-03 Thread Joshua Ecklund
Hi all, I am having a problem with a PHP script, in which I am using a self-written OLE object to provide data to the script. I have two other OLE DLLs that I also use in PHP scripts which work fine. I wrote all of the DLLs in Borland Delphi, btw. (I am running PHP 4.0.6 and Apache 1.3.20 on W

Re: [PHP] Disbale function in certain virtual host

2001-09-03 Thread Nicolas Ross
I tried that one, and it didn't work... Nicolas > > > php_admin_value disable_functions strlen > > > On Fri, 31 Aug 2001, Nicolas Ross wrote: > > > I am searching a way of disabling certain functions in a particular Virtual > > Host. > > > > I search through the archive of this list and I foun

[PHP] php4 and apache 1.3.20

2001-09-03 Thread Christian Darsow
hi! i'm trying to install php4 and apache 1.3.20. so, installing apache works and installing php4 works, too. but when i'm now trying to build a new apache with the php4 module it gives up: ./config.status --activate-module=src/modules/php4/libphp4.a make ---> leaving directory 'usr/local/etc/ap

Re: [PHP] I dont see whats wrong!

2001-09-03 Thread Alexander Skwar
So sprach »Andy Woolley« am 2001-09-03 um 16:37:08 +0100 : > Might not work in all cases though but it's certainly easier to read. Also easy to read: $msg = array( $foo, $bar, $blah, $blub ); echo implode("\r\n", $msg); Alexander Skwar -- How to quote: http:/

Re: [PHP] I dont see whats wrong!

2001-09-03 Thread Alexander Skwar
So sprach »Kyle Smith« am 2001-09-03 um 14:50:49 -0700 : > i get this error message > Parse error: parse error in >/web/sites/197/lk6/www.stupeedstudios.f2s.com/sendcam.php on line 53 > > for > > $message = $alias. "\r\n".$name. "\r\n". $email. "\r\n". $site. "\r\n". $cam. >"\r\n". $quote.; A

Re: [PHP] If PHP4 existed in 1995 we would of taken over the world by now

2001-09-03 Thread Martín Marqués
On Lun 03 Sep 2001 17:49, Bob wrote: > Hi Maxim, > > Hotmail was hot because nobody had ever seen free webmail and it spread by > word of mouth. I don't know but did anyone see a hotmail commerical??? > > What I am saying is that if php is always following or copying the > technology that happene

Re: [PHP] If PHP4 existed in 1995 we would of taken over the worldby now

2001-09-03 Thread Christopher William Wesley
On Mon, 3 Sep 2001, Bob wrote: > look. What I am looking for is the cool factor. I know technology needs time > to improve but what's going to be cool in PHP5??? It's like a race that never > finishes and who is winning? ASP or PHP? PHP5 will still run on your Free OS, your CLI OS, your Pay

Re: [PHP] If PHP4 existed in 1995 we would of taken over the worldby now

2001-09-03 Thread Rasmus Lerdorf
> What I am saying is that if php is always following or copying the technology > that happened a couple years ago then what's the point? php will then always be > known as the low cost option and project managers won't even give it a second > look. What I am looking for is the cool factor. I k

Re: [PHP] If PHP4 existed in 1995 we would of taken over the world by now

2001-09-03 Thread Bob
Hi Maxim, Hotmail was hot because nobody had ever seen free webmail and it spread by word of mouth. I don't know but did anyone see a hotmail commerical??? What I am saying is that if php is always following or copying the technology that happened a couple years ago then what's the point? php

[PHP] PHP Authentication on Apache

2001-09-03 Thread Lynn Holt
Hi all, Trying PHP for the first time. Snached the authentication code from the docs and put it in phpauth.php. When I surf to it, it just asks for my user and password again and again If I hit Cancel, it prints the little message just fine. Here's the code in case I'm the only one to RT

Re: [PHP] replacing a carriage return with an html break

2001-09-03 Thread Chris Hobbs
[EMAIL PROTECTED] wrote: > I am filling out a form , and submitting it to the next page which just >prints what I submitted, but it doesnt print any returns, i used when i filled out >the previous > > I found on php.net there is a ereg_replace funtion and a trim function but I am >unsure if

Re: [PHP] Recursivly Updating Files

2001-09-03 Thread skater
okay, sorry, had a blonde moment!!! it's more than just having a prepend and appending file onto it, i'm changing existing CSS into linked ones, existing Javascripts into includes, and taking the whole thing out of frames by using PHP includes in a table. each page needs to be edited and have cer

Re: [PHP] Re: Pulling a random image

2001-09-03 Thread Mark Charette
>what does that entail? > >>"Rasmus Lerdorf" <[EMAIL PROTECTED]> wrote in message >>[EMAIL PROTECTED]">news:[EMAIL PROTECTED]... >> Why not just configure your server to use an auto_prepend_file ? Reading the documentation that's easily available. -- PHP General Mailing List (http://www.php.ne

Re: [PHP] Recursivly Updating Files

2001-09-03 Thread Franklin van Velthuizen
Skater wrote: > what does that entail? > > > "Rasmus Lerdorf" <[EMAIL PROTECTED]> wrote in message > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > >>Why not just configure your server to use an auto_prepend_file ? >> > > Reading the manual every now and then wouldn't hurt... really, it wou

Re: [PHP] replacing a carriage return with an html break

2001-09-03 Thread Christopher William Wesley
On Mon, 3 Sep 2001 [EMAIL PROTECTED] wrote: > I am filling out a form , and submitting it to the next > page which just prints what I submitted, but it doesnt print any > returns, i used when i filled out the previous Try using nl2br() in the output script (page). http://php.net/nl2br

[PHP] Re: Problem with PHP_SELF

2001-09-03 Thread CC Zona
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (David Otton) wrote: > I get a error - "Warning: Undefined variable: PATH_INFO in > [scriptname] on line 13" > > Is there any situation where such variables would be available to > phpinfo(), but not the rest of the script? Yes, where $PATH_INF

[PHP] replacing a carriage return with an html break

2001-09-03 Thread nate
Hi all, I am filling out a form , and submitting it to the next page which just prints what I submitted, but it doesnt print any returns, i used when i filled out the previous I found on php.net there is a ereg_replace funtion and a trim function but I am unsure if either one will work and i

RE: [PHP] Re: Pulling a random image

2001-09-03 Thread Brad R. C.
You know what.. that might just work the way I need it to... will try it out tonight, thanks!!! :) Brad C. -Original Message- From: Hugh Bothwell [mailto:[EMAIL PROTECTED]] Sent: Monday, September 03, 2001 1:05 PM To: [EMAIL PROTECTED] Subject: [PHP] Re: Pulling a random image "Brad R

Re: [PHP] Recursivly Updating Files

2001-09-03 Thread skater
what does that entail? "Rasmus Lerdorf" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Why not just configure your server to use an auto_prepend_file ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additio

Re: [PHP] Recursivly Updating Files

2001-09-03 Thread Rasmus Lerdorf
Why not just configure your server to use an auto_prepend_file ? On Mon, 3 Sep 2001, skater wrote: > help!!! > > I'm recursivley reading and editing every .htm and .html file in a 1000 page > website and upgrading it to contain linked CSS, Javascript includes and PHP > includes. the script works

[PHP] Recursivly Updating Files

2001-09-03 Thread skater
help!!! I'm recursivley reading and editing every .htm and .html file in a 1000 page website and upgrading it to contain linked CSS, Javascript includes and PHP includes. the script works fine and all, trouble is that PHP doesn't. Sometimes the script will run fine, other times PHP will decide t

Re: [PHP] MDB

2001-09-03 Thread ignacio . estrada
Respecto al punto 1 la respuesta es SI, ya que no es necesario involucrar PHP en este lado. Atte. Ignacio Estrada F. Centro Nacional de Control de Energia Area de Control Occidental 025+6463, 025+6464, 025+6469

[PHP] ob_start()

2001-09-03 Thread Jeroen Olthof
Can I increase speed by using this to buffer output ? kind regards Jeroen Olthof -- 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: Current status of things

2001-09-03 Thread Harald Radi
> Yeah. Now that I understand more about COM and IDispatch > things are going smoothly. > Question: how do I close a connection to the COM object? in general you simply call ->release() on the component. if you call release() as often as addref() (note that addref() is called implicitly on insta

RE: [PHP] newbie : how to access functions in seperate files???

2001-09-03 Thread Lukas Smith
> > What do people do with required files? I have a file called config.php > > which contains all my functions. It is 329526 bytes. Should I split this > > up into other files? I don't think so, but what do others think? > > I too am curious about a recommended or best practice. what you want tod

Re: [PHP] newbie : how to access functions in seperate files???

2001-09-03 Thread web-dev
speedboy wrote: > > What do people do with required files? I have a file called config.php > which contains all my functions. It is 329526 bytes. Should I split this > up into other files? I don't think so, but what do others think? I too am curious about a recommended or best practice. I create

[PHP] Re: Pulling a random image

2001-09-03 Thread Hugh Bothwell
"Brad R. C." <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > But what my goal was is to make it where it goes through all the images > before showing a random twice. ... if you actually want to do this, you will have to keep track of which items you have seen

Re: [PHP] session_encode doesn't work....

2001-09-03 Thread Christopher William Wesley
On Mon, 3 Sep 2001, Dhaval Desai wrote: > session_encode($dhaval); ... > when I check out the c:\tmp\ directory and check out > the session data I can still read the same as > dhaval=trythisout and it's not encoded...is it coz the session_encode() returns a string for you to use in a PHP script

Re: [PHP] FULLTEXT search sorting results

2001-09-03 Thread Mark Maggelet
On Mon, 3 Sep 2001 19:33:38 +0200, BRACK ([EMAIL PROTECTED]) wrote: >$result = mysql_query("SELECT skits.*,category.*,match >(skits.title,skits.descr,skits.skits) against ('$relev') as from oops, should be 'against ('$relev') as relevance from' >skits,category where (skits.title like '%$title_

[PHP] Re: database searching

2001-09-03 Thread Hugh Bothwell
"Melih Onvural" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > i want to randomly choose a column in a database with a quote in it, by the > number of the column. > i have a random seed working, but it won't pull only one column, but all > columns. How can I c

[PHP] session_encode doesn't work....

2001-09-03 Thread Dhaval Desai
Hi! I want to encode a variable data this way... session_start(); session_register("dhaval"); $dhaval = "trythisout"; session_encode($dhaval); when I check out the c:\tmp\ directory and check out the session data I can still read the same as dhaval=trythisout and it's not encoded...is it coz

[PHP] database searching

2001-09-03 Thread Melih Onvural
i want to randomly choose a column in a database with a quote in it, by the number of the column. i have a random seed working, but it won't pull only one column, but all columns. How can I choose just one column, and print one column at a time? thanks, Melih -- PHP General Mailing List (http

[PHP] FULLTEXT search sorting results

2001-09-03 Thread BRACK
Hi, I asked recently to help with the selection for FULLTEXT search and now with your help I found how to do that but I still have problem with advansed search. This is what I have right now: $result = mysql_query("SELECT skits.*,category.* from skits,category where (skits.title like '%$tit

[PHP] detection of relevance

2001-09-03 Thread BRACK
I have made a detetor of relevance in found results in form of colored ine od length depended on relevance. I did it this way: In query I inserted match (...,...,...) against ('%$var%') as relevance in while loop I inserted $relevance = $row["relevance"]; $rel = round($relevance); print "\n";

[PHP] separate files?

2001-09-03 Thread Michael Kimsal
Honestly, that seems like one damn big file to me. Are you using all those functions in every single file? If not, you're loading and (re)compiling a hell of a lot of code on every page request. If you're done developing, it may be time to split that up into more logical files (all db functio

[PHP] Re: Error trapping

2001-09-03 Thread Moody
Try writing a custom error handler. Chech out http://www.zend.com/zend/spotlight/error.php for a good article on the subject. Pay particular attention to the bit at the end about output buffering since I assume that what you would want to do is send a redirect header to the browser if the script f

RE: [PHP] Help on e-mail attachments retrieval adn ZIP uncompression.

2001-09-03 Thread Richard Heyes
> 1) How to retrieve messages from a POP3 mailbox and save only > the ZIP files attachments? A couple of ways. 1. Use the imap (it does pop3 too) extension to connect to the mail server, parse the mails and extract the zip files. 2. Use mime decoding php scripts. There's one I've just committe

Re: [PHP] Problem with PHP_SELF

2001-09-03 Thread Mark Charette
From: "David Otton" <[EMAIL PROTECTED]> > My other point still stands though (I think) - that marking a variable > as "global" to "pull it in to scope" is a clunky, ass-backwards way of > doing things. Which is why, of course, that parameters were invented "way back when". -- PHP General Maili

[PHP] Help on e-mail attachments retrieval adn ZIP uncompression.

2001-09-03 Thread Carlos Fernando Scheidecker Antunes
Hello Everybody, I have a software writen in Delphi which I am migrating to Kylix but I would like to do it in PHP instead. What the software does is to access an e-mail address and retrieve the messages saving the files ending with .zip to a local directory. After that, it decompresses the ZI

[PHP] Pulling a random image

2001-09-03 Thread Brad R. C.
Hello everyone... I have been working on this random function for awhile now.. and it is close to being complete. It works as for a random function. But what my goal was is to make it where it goes through all the images before showing a random twice. Kind of like you put all the images in a bucke

Re: [PHP] Problem with PHP_SELF

2001-09-03 Thread David Otton
On Mon, 3 Sep 2001 09:16:00 -0700, you wrote: >I couldn't help but frown at this message... This is typical of this and >hundreds of other lists... instead of learning the language, people just >jump in, try to write code, and then when something doesn't work, it's the >language's fault... It a

RE: [PHP] Problem with PHP_SELF

2001-09-03 Thread Joe Sheble \(Wizaerd\)
I couldn't help but frown at this message... This is typical of this and hundreds of other lists... instead of learning the language, people just jump in, try to write code, and then when something doesn't work, it's the language's fault... It absolutely amazes me that such a huge number of peop

RE: [PHP] MDB

2001-09-03 Thread Mark Roedel
> -Original Message- > From: Alfredo Yong [mailto:[EMAIL PROTECTED]] > Sent: Monday, September 03, 2001 11:05 AM > To: [EMAIL PROTECTED] > Subject: Re: [PHP] MDB > > > 2. The page at http://odbc.linuxave.net/, stated as the > source for the ODBCSocketServer server, is not on-line > now

Re: [PHP] MDB

2001-09-03 Thread Alfredo Yong
Man, this is a real value! I was in a trouble thinking how to publish data coming from the administration area. Thinking in programming visual basic interfaces, generate SQL inserts, etc. But now you can simply publish it and thats all! Browsing with google, I found this well written article f

Re: [PHP] probs with exec, pls pls help

2001-09-03 Thread Chris Hobbs
David Robley wrote: > On Mon, 3 Sep 2001 17:00, taz wrote: >> > Probably the user that your webserver, and hence your php script, runs as > does not have permissions to execute mysqlimport. Or, mysqlimport is not in the path - try using the complete path and see if that solves it. --

Re: [PHP] I dont see whats wrong!

2001-09-03 Thread Andy Woolley
You could also perhaps try this. $message = " $alias $name $email $site $cam $quote "; Might not work in all cases though but it's certainly easier to read. It all very much depends on personal preference. Andy. - Original Message - From: "John Monfort" <[EMAIL PROTECTED]> To: "Kyle S

[PHP] Re: Posting data through PHP scripts

2001-09-03 Thread Krzysztof Kocjan
I've never used method virtual but it seems to fit Your problem. Explanation below. Krzysztof Kocjan virtual (PHP 3, PHP 4 >= 4.0b1) virtual -- Perform an Apache sub-request Description int virtual (string filename) virtual() is an Apache-specific function which is equivalent to in mod_inc

Re[2]: [PHP] If PHP4 existed in 1995 we would of taken over the world by now

2001-09-03 Thread Maxim Derkachev
Hello Bob, Monday, September 03, 2001, 1:08:40 PM, you wrote: B> If in 1995 you tell a project manager that I can program B> hotmail.com in a couple weeks and that it would be a lot faster then cgi B> then they would of been forced to use it and all the marketing would not B> matter. Then (maybe)

Re: [PHP] Re: EDI with PHP?

2001-09-03 Thread Sean C. McCarthy
Hi, You can also try to use Java (the list is going to run over me with this comment). Xerces parser is quite good and amazinly fast, and opensource. We are validating XML document of 3Mb with it, and it is done in three seconds (creating a DOM object). It is just another idea if you haven't look

Re: [PHP] I dont see whats wrong!

2001-09-03 Thread John Monfort
Try removing the last period(.) after $quote. Also, try this method: $nl = "\r\n"; $message = $alias$nl$name$email$...so on and so forth. Come to think of it, I think PHP has a constant for "\r\". I think its NL or something like that, I can't remember. Look in the manual pages for s

[PHP] Re: EDI with PHP?

2001-09-03 Thread Jon Farmer
No, we would have to spend around £24,000 sterling to get the modules. We already have modules that allow importing of order, etc from txt files. I could write a PHP XML parser to interface into this. What I am not sure is how acceptable it will be to our customers -- -- Jon Farmer Systems Progra

Fw: [PHP] Re: probs with exec, pls help (still again)

2001-09-03 Thread taz
> Hi > > I've put the full path in for mysql, i've included -h -u -p and included the > paths of the txt & table files > > Still don't work. > > I'm logged in as root, working on my own box (linux) . > I'm really struggling with this one. > Has anyone out there done this ?? > > Many TIA > Terr

Re: [PHP] Problem with PHP_SELF

2001-09-03 Thread
From: David Otton <[EMAIL PROTECTED]> Date: Mon, Sep 03, 2001 at 03:21:00PM -0700 Message-ID: <[EMAIL PROTECTED]> Subject: Re: [PHP] Problem with PHP_SELF > On Mon, 03 Sep 2001 15:11:04 -0700, you wrote: > > Following up my own post (in case someone finds this in the archives): > > >Is there a

[PHP] Re: EDI with PHP?

2001-09-03 Thread Hugh Bothwell
"Jon Farmer" <[EMAIL PROTECTED]> wrote in message 003f01c1345c$53e385e0$[EMAIL PROTECTED]">news:003f01c1345c$53e385e0$[EMAIL PROTECTED]... > The company I work for is starting to lose contracts because they are not > capable of EDI. As I seem to be the only person in the company who has heard > o

  1   2   >