RE: [PHP] php_flag session.auto_start 0 not working

2003-02-27 Thread John W. Holmes
> I am using php_flag session.auto_start 0 in an .htaccess file to stop > sessions from auto starting. It works on all but the one below, it still > auto starts. The session replaces linked style sheets on the page > through some links. Can anyone see the problems? > > session_start(); > if ( is

Re: [PHP] How do I display the script file name?

2003-02-27 Thread Jason k Larson
. is a string concatenation operator. ' or " are strings. Read http://www.php.net/manual/en/language.operators.string.php By the way, __LINE__ is available in addition to __FILE__. Hope that helps, Jason k Larson Stephen Ford wrote: Partial success. The code and output are shown below. There ar

[PHP] form with multiple lines to insert

2003-02-27 Thread Don Hicks
Hello, I'm working on a form that will submit multiple lines of data to a database. The form's style is that of an order form, where there are lines for each item available, and a single submit button at the foot of the page. For example: === Item Quantity -

[PHP] When is garbage collection initiated?

2003-02-27 Thread Johnson, Kirk
I need a better understanding of when garbage collection is initiated under PHP's default session handling. It is not clear to me if the gc_probability is based on: - each *request* to the server, or, - each time a *new session file is created*, or, - each time a request causes a *session file to

RE: [PHP] Emacs?

2003-02-27 Thread Ernest E Vogelsinger
Nope. It's 41 (I don't use Emacs) At 15:30 27.02.2003, Larry Brown spoke out and said: [snip] >Oops...I stand corrected. > >Larry S. Brown >Dimension Networks, Inc. >(727) 723-8388 > >-Original Message- >From: Matt Giddings [mailto:[EMAIL PROTECTED]

Re: [PHP] including db content as part of script

2003-02-27 Thread Ernest E Vogelsinger
At 13:28 27.02.2003, Dennis Heuer spoke out and said: [snip] >One single question. Is including() a script on runtime only possible with >files or can I include() code from a database? [snip] If you have code in your

[PHP] PHP abandoning 64-bit platforms?

2003-02-27 Thread Morty
Was 4.2.3 really the last release for sparc/alpha/power platforms? There was an ftp site in France that had a set of patches to get 4.3.x working on 64-bit chips, but that it has been offline for days at least. I didn't see anything in CVS that indicated any attempt at 64-bit cleanliness was in

[PHP] HELP PLEASE ! Need PHP Advice !!!

2003-02-27 Thread justin brenton
can anyone give me some good advise on how abouts I should go about maintaining a newspaper website. here is what is currently in place and how i want it to be managed right now the newspapers are published in a quark file from that file pictures have to be placed in photoshop and resized , crope

Re: [PHP] How do I display the script file name?

2003-02-27 Thread Stephen Ford
Partial success. The code and output are shown below. There are no errors. What does the ".' '." do pls. Have tried a variety of combinations to see the effect. Nothing to see... :-( ===PHP== Line #1 ".' '.$_SERVER['PHP_SELF'], ""; echo "Line #2"; echo "Line #3"; echo "Line #4 ".'

Re: [PHP] Little help please

2003-02-27 Thread 1LT John W. Holmes
> I'm looking for a webbased interface that will allow me to managae mysql > databases. However, phpmyadmin has been ruled out due to the fact it > requires the username and password to be stored in the config file No it doesn't. > and that it doesn't have any security to protect the average joe

RE: [PHP] Mail (), BCC: recipients not receiving my Newsletter

2003-02-27 Thread Ricardo Fitzgerald
It's not working either ... Rick Off Price Closeouts 1700 W 8 Ave Miami, FL 33010 (305) 888 2555 FAX (305) 884 1761 -Mensaje original- De: Jason k Larson [mailto:[EMAIL PROTECTED] Enviado el: Wednesday, February 26, 2003 5:59 PM Para: Ricardo Fitzgerald CC: [EMAIL PROTECTED] Asunto: Re

[PHP] sort mixed array

2003-02-27 Thread Jim Long
Hi, I have an array with an html link as key and different $vars as val: $list = array ( 'http://someplace.com/";>some place' => $vendor1_total, 'http://anotherplace.com/";>another place' => $vendor2__total, [snip] etc.. some vals are numeric and some vals are "n/a" asort works to sort the arra

Re: [PHP] Php, Blob, Oracle

2003-02-27 Thread Thies C. Arntzen
On Thu, Feb 27, 2003 at 05:51:01PM +0200, M.ALPER KARASAHIN wrote: > > Hi, > > How can i display a blob column that contins a "MS word" object. > OR > How can i display a blob column that contins a bitmap object. > >function foo() >{ > $this->statement = OCIParse($this->db_con_id,

[PHP] Re: Does PHP supports threads?

2003-02-27 Thread Justin Garrett
PHP does not support threading. Depending on what you're trying to do you may find the process control functions useful http://www.php.net/manual/en/ref.pcntl.php Justin Garrett "C. F. Scheidecker Antunes" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hello all, > > I have a few

[PHP] PHP+COM (formating excel)

2003-02-27 Thread DJ GJ
Hi, All, I would be very appreciated if you could help me to find information about formating excel cells (like merge cells, Autofit columns, etc.). I am using excel from php like com object. Thanks in advance. gytis -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: htt

[PHP] Little help please

2003-02-27 Thread Tom Ray
I'm looking for a webbased interface that will allow me to managae mysql databases. However, phpmyadmin has been ruled out due to the fact it requires the username and password to be stored in the config file and that it doesn't have any security to protect the average joe from stumbling across it.

[PHP] + com (formating excel cells)

2003-02-27 Thread DJ GJ
hi, all, does anybody know: how to merge excel cells from php code? how to make excel columns "autofited" from php code? where to find the information about all of this kind tricks? appreciated for any useful answer. gytis -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visi

[PHP] Re: [PHP-DEV] Re: [PHP] Threading

2003-02-27 Thread Braulio José Solano Rojas
Hi! "Rasmus Lerdorf" <[EMAIL PROTECTED]> escribió en el mensaje news:[EMAIL PROTECTED] > On Tue, 18 Feb 2003, Greg Donald wrote: > > On Tue, 18 Feb 2003, Bruce Miller wrote: > > > > >Will PHP allow multiple-thread execution? > > > > PHP4 does not have thread support. > > Well, except for pear/PECL

[PHP] messed up browser?

2003-02-27 Thread The Gabster
Hi all... I keep getting this error in trying to view a snippet code from the www.phpbuilder.com site: The XML page cannot be displayed Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later. --

Re: [PHP] How do I display the script file name?

2003-02-27 Thread Jason k Larson
The 'magic constant' __FILE__ is one way. or even better: HTH, Jason k Larson Stephen Ford wrote: How can I display the script file name? Presumably something like-: While I'm learning php and developing various Web page versions, I want to be sure the that the display is from the appropriat

[PHP] Php, Blob, Oracle

2003-02-27 Thread M.ALPER KARASAHIN
Hi, How can i display a blob column that contins a "MS word" object. OR How can i display a blob column that contins a bitmap object. function foo() { $this->statement = OCIParse($this->db_con_id, "SELECT blobcolumn FROM XX "); if (!$this->statement) {

Re: [PHP] How do I display the script file name?

2003-02-27 Thread Stephen Ford
Thanks I'll post back with results. Stephen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] post xml

2003-02-27 Thread Mincu Alexandru
yes you can connect to the server from your PHP script and send a post request .. here is a function that would help: --- PHP -- function http_post($server, $port, $url, $vars) { // example: // http_post( // "www.fat.com", // 80, // "/weightloss.pl", // array("name" =

RE: [PHP] How do I display the script file name?

2003-02-27 Thread Rich Gray
> How can I display the script file name? Presumably something like-: > > echo $ScriptFileName; > ?> > > While I'm learning php and developing various Web page versions, I want to > be sure the that the display is from the appropriate script. > > Regards > Stephen Ford, Surrey, UK Try any of thes

[PHP] Does PHP supports threads?

2003-02-27 Thread C. F. Scheidecker Antunes
Hello all, I have a few scripts writen and I wonder if PHP does support threads like a Java Program. What I mean is, with Java I can have multiple threads of tasks running at the same time and I would like to know if I could accomplish the same with PHP although the books I have and the docume

[PHP] Preventing the "hijacking" of pictures

2003-02-27 Thread merlin
Hi there, I recently discovered the reason why the traffic is rising so high on my server. Some people are "stealing" bandwidth. They include the link of an image into a forum posting. Now everytime somebody reads this threat on the other site this image is served by my server!! No one cares about

php-general Digest 27 Feb 2003 15:24:05 -0000 Issue 1908

2003-02-27 Thread php-general-digest-help
php-general Digest 27 Feb 2003 15:24:05 - Issue 1908 Topics (messages 137335 through 137399): mysqldump 137335 by: John Taylor-Johnston 137336 by: Joseph Szobody 137337 by: Joseph Szobody 137355 by: John Taylor-Johnston 137370 by: Sunfire 13737

[PHP] Re: How do I display the script file name?

2003-02-27 Thread Mark Harwood
echo $_SERVER['PHP_SELF']; "Stephen Ford" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > How can I display the script file name? Presumably something like-: > > echo $ScriptFileName; > ?> > > While I'm learning php and developing various Web page versions, I want to > be sure the

[PHP] How do I display the script file name?

2003-02-27 Thread Stephen Ford
How can I display the script file name? Presumably something like-: While I'm learning php and developing various Web page versions, I want to be sure the that the display is from the appropriate script. Regards Stephen Ford, Surrey, UK -- PHP General Mailing List (http://www.php.net/) To

[PHP] post xml

2003-02-27 Thread Diana Castillo
I am sending an xml request as part of the url using urlencode to encode my xml. It doesnt work like that so the server that is receiving it doesnt seem to like the data in the query string. However, if I send it from a form using the method post then it works fine. Is there a way to send it by me

[PHP] Re: classes and functions in include files

2003-02-27 Thread David Eisenhart
yes (as has been said); the code in the included file adopts 'the scope in the place at the point of the include statement'. Hence if you were to put the the include statement in a function the vars in the included file would have the scope of that function; included outside a function they'll have

Re: [PHP] Reading files

2003-02-27 Thread 1LT John W. Holmes
>while (!feof ($handle)) ; Take that semi-colon away. You're running this loop continously. ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Reading files

2003-02-27 Thread Ferhat Can
Hi Chris, You should delete the ; after the while statement because it causes an infinite loop. - Original Message - From: "Chris Blake" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, February 27, 2003 16:29 Subject: [PHP] Reading files > Greetings... > > When t

RE: [PHP] Emacs?

2003-02-27 Thread Larry Brown
Oops...I stand corrected. Larry S. Brown Dimension Networks, Inc. (727) 723-8388 -Original Message- From: Matt Giddings [mailto:[EMAIL PROTECTED] Sent: Thursday, February 27, 2003 12:26 AM To: 'Larry Brown'; 'PHP List' Subject: RE: [PHP] Emacs? Don't you mean 42? > -Original Message

Re: [PHP] File upload problem - permission denied

2003-02-27 Thread 1LT John W. Holmes
Make sure whatever user the _web server_ is running as has access to write to that directory. With IIS, this is the IUSR_ account. > $AppImageDir = Web/Images"; You've got a error in that line, also, hopefully it's just a typo, though. ---John Holmes... - Original Message - From: "Nikl

[PHP] Reading files

2003-02-27 Thread Chris Blake
Greetings... When the following runs.. === '. $buffer. ''; } fclose($handle); ?> .it gives out ==

[PHP] Re: classes and functions in include files

2003-02-27 Thread rush
"Sunfire" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > just a fast question here.. and the lotic probably isnt to bright on my part > and i think i know the answer to this question too but just to make sure... > if you can include variables in an include file and use them outside t

RE: [PHP] Mail (), BBC: recipients not receiving my Newsletter

2003-02-27 Thread Ricardo Fitzgerald
I'll Try that instead :) Thnx! Rick Off Price Closeouts 1700 W 8 Ave Miami, FL 33010 (305) 888 2555 FAX (305) 884 1761 -Mensaje original- De: Jason k Larson [mailto:[EMAIL PROTECTED] Enviado el: Wednesday, February 26, 2003 5:59 PM Para: Ricardo Fitzgerald CC: [EMAIL PROTECTED] Asunto:

RE: [PHP] File upload problem - permission denied

2003-02-27 Thread Niklas Lampén
On linux you can do it in shell with chmod command. Do 'chmod 766 direcory'. You can find out more about chmod-command at http://www.die.net/doc/linux/man/man1/chmod.1.html. Niklas -Original Message- From: Frans Bakker [mailto:[EMAIL PROTECTED] Sent: 27. helmikuuta 2003 16:03 To: [EMAI

Re: [PHP] File upload problem - permission denied

2003-02-27 Thread Frans Bakker
All right then. ¿Where do I set that permission for PHP? On my local Windows machine it is usually in IIS. However the whole ..\inetpub\wwwroot\.. directory already has read and write permissions. Apart from PHP I use Cold Fusion. With Cold Fusion I don't have any permission problems... "Niklas la

RE: [PHP] File upload problem - permission denied

2003-02-27 Thread Niklas Lampén
Seems that php does not have write access to that directory. Set it right and it should work. Niklas P.S. Tip: It's much quicker to create plain html without echo. Just do it like , not like "; ?> :) -Original Message- From: Frans Bakker [mailto:[EMAIL PROTECTED] Sent: 27. helmikuuta

Re: [PHP] classes and functions in include files

2003-02-27 Thread 1LT John W. Holmes
> just a fast question here.. and the lotic probably isnt to bright on my part > and i think i know the answer to this question too but just to make sure... > if you can include variables in an include file and use them outside that > file (in the file that includes that file that is) then can you

[PHP] File upload problem - permission denied

2003-02-27 Thread Frans Bakker
Hello everybody, I am relatively new to PHP and for quite some days I am trying to get a file upload system going through a standard html form. To test it I use an html page called Test2.php with a form in it with enctype=\"multipart/form-data\". Here is the source code: Web site - pages form

[PHP] Re: problem in writing into an html text file

2003-02-27 Thread Alejandro Trujillo J.
what software are you using ??? -- Alejandro Trujillo J. Cube Systems LTDA. web : csltda.com Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP list problems?

2003-02-27 Thread Sebastian
haha, okay, I see now. your message was attached to a text file. thanks. warm regards, Sebastian - [BBR] Gaming Clan http://www.broadbandreports.com - Original Message - From: "David T-G" <[EMAIL PROTECTED]> To: "PHP General list" <[EMAIL PROTECTED]> Cc: "Sebastian" <[EMAIL PROTECTED]> S

Re: [PHP] PHP list problems?

2003-02-27 Thread Sebastian
Hmm... i cannot see your message,.. see it's blank below .. Seems to be only happening to your emails. warm regards, Sebastian - [BBR] Gaming Clan http://www.broadbandreports.com - Original Message - From: "David T-G" <[EMAIL PROTECTED]> To: "PHP General list" <[EMAIL PROTECTED]> Cc: "S

[PHP] classes and functions in include files

2003-02-27 Thread Sunfire
just a fast question here.. and the lotic probably isnt to bright on my part and i think i know the answer to this question too but just to make sure... if you can include variables in an include file and use them outside that file (in the file that includes that file that is) then can you do the s

Re: [PHP] Escape Characters

2003-02-27 Thread 1LT John W. Holmes
> I'm running a script that reads the contents of images and stores them > in a MySQL database. The problem I'm running into is that my server is > seeing "\" as escape characters and stripping them out. I assume this > has something to do with "Magic Quotes" or something of that nature but > I'm

Re: [PHP] PHP list problems?

2003-02-27 Thread David T-G
Sebastian -- ...and then Sebastian said... % % every so often i get a blank email that contains an attachment, a ATTxyz.dat % and ATTxyz.txt why? Don't know that for sure, but ... % % I just got a reply from David T-G, Thread "Deleting a page after viewing it" % and its blank with an attachme

[PHP] Escape Characters

2003-02-27 Thread Sysadmin
Hi All, I'm running a script that reads the contents of images and stores them in a MySQL database. The problem I'm running into is that my server is seeing "\" as escape characters and stripping them out. I assume this has something to do with "Magic Quotes" or something of that nature but I

RE: [PHP] including db content as part of script

2003-02-27 Thread Niklas Lampén
Well, you could use temporary files for this. I've never done this by myself, but I think it's worth giving a try. :) Fetch the data from the database, write your code to temporary file and then include this temporary file. After that you can destroy the temporary file. Niklas -Original Me

[PHP] PHPed 3.0.0 debug problem. Plz help

2003-02-27 Thread Kristijan Marin
Hi! My problem is that if I try to debug my php file , not all the lines seams to be debugged cause not all the lines have that blue dot on the left side. Why?? If I try step by step I can see that some lines are skipped and some lines that actually don't have the code are "executed" Plz, help

[PHP] including db content as part of script

2003-02-27 Thread Dennis Heuer
Hello - One single question. Is including() a script on runtime only possible with files or can I include() code from a database? greetings Dennis -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] imagecreate()

2003-02-27 Thread Marek Kilimajer
Tell us what is in the logs, they are in logs\ in the apache installation directory Anthony Ritter wrote: Chris, The function I'm trying to get...it's: imagecreate() I am using MS Win 98 / PHP 4 and Apache. I tried running the following script but got an undefined call to imagecreate() The fol

[PHP] How to phpize?

2003-02-27 Thread Niels Andersen
I want to compile an extension, let's say the zip extension. So I do the following: cd /usr/src/php-4.2.3/ext/zip phpize Now, I understand that this should result in a shared library being produced, but I can't find it. Also, during the phpize process, I get following warnings: perl: warning: Se

[PHP] Re: mysqldump

2003-02-27 Thread Niels Andersen
There mey, but need not be a space. As far as I know, the option scanner in mysqldump ignores spaces between short options and their values. "John Taylor-Johnston" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Thanks! > > > exec("mysqldump -c -q database -u user -ppassword", $sql)

Re: [PHP] mysqldump

2003-02-27 Thread Sunfire
just make a php file with system calls in it to do mysqldump how secure that is is a different question - Original Message - From: "John Taylor-Johnston" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, February 26, 2003 10:43 PM Subject: [PHP] mysqldump > Anyone do MySQLD

RE: [PHP] date, "first of next month"?

2003-02-27 Thread Jon Haworth
Hi Bryan, > > $t = mktime(0,0,0,date('m')+1,1,date('Y')); > > > > Gives you timestamp of first day, next month. > > Format accordingly with date(). > > is there such a say to now get the date of the first > weekday after that date? You can brute force it: // grab the timestamp $t = mktime(0,0,

[PHP] global value (php.ini) settings override with local (virtualhost) value

2003-02-27 Thread Davide Giunchi
In php.ini i've set open_basedir = /usr/local/lib/php/:/tmp/ in vhost.conf (VirtualHost include file) i set php_admin_value open_basedir /web/htdocs/linuxtest4.aruba.it/home/ So if i execute phpinfo i view: LOCAL MASTER

Re: [PHP] Re: Using mod_rewrite and PHP

2003-02-27 Thread Peter Janett
You can do this in your PHP code by itself, no need to use Apache. Search for "search engine safe" or "search engine friendly". Fusebox.org has some default code that does this (follow the links for PHP fusebox). HTH, Peter Janett New Media One Web Services New

[PHP] Re: Using mod_rewrite and PHP

2003-02-27 Thread Dan Phiffer
At the advice of a friendly php-general reader, I tried the following: RewriteEngine on Options +FollowSymlinks RewriteBase/issues/ RewriteCond%{REQUEST_FILENAME} -d RewriteRule ^(.+)([/]?)$ $1/ [R] RewriteRule ^([0-9]/[a-z]/[a-z0-9])([/]?) /index.php?year=$1\&month=$2\&article=$3 And

<    1   2