[PHP-CVS] cvs: php4 /ext/mysql php_mysql.c

2001-01-11 Thread Rasmus Lerdorf
rasmus Fri Jan 12 00:03:24 2001 EDT Modified files: /php4/ext/mysql php_mysql.c Log: Fix for bug 6073 from Sean R. Bright <[EMAIL PROTECTED]> Index: php4/ext/mysql/php_mysql.c diff -u php4/ext/mysql/php_mysql.c:1.61 php4/ext/mysql/php_mysql.c:1.62 --- p

Re: [PHP] mixing HTML and PHP code

2001-01-11 Thread Alexander Wagner
Alex Black wrote: > echo " value=\"$value\">" > > starts to make you insane. If it is done wrong spread over the whole project hidden between lines of PHP-code, it sure does. > speaking as an html author, and a lover of php, _please_: > > > > it makes the code useable. No. makes the code u

[PHP] apache+php4 error ..

2001-01-11 Thread Naresh Chafekar
I have windows98, apache 1.3.14, php4. After adding following line in httpd.conf file # for the apache module #LoadModule php4_module c:/php4/sapi/php4apache.dll I get following error while starting apache (which works fine otherwise) Cannot load c:/php4/sapi/php4apache.dll into server: (1157)

Re: [PHP] Dir Help PLEASE

2001-01-11 Thread Philip Olson
> how do I give something the filepath of a folder that proceeded it? Not sure exactly what you mean here but consider getcwd() http://www.php.net/manual/function.getcwd.php This "gets the current working directory" and may help your quest. If you want something else, load up phpinfo

Re: [PHP] MYSQL start an auto_increment at a certain number

2001-01-11 Thread Hsieh, Wen-Yang
CREATE TABLE tbl_name ( id_number int unsigned auto_increment not null primary key ... ) AUTO_INCREMENT = 5000; - Original Message - From: "Jared Howard" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, January 11, 2001 7:35 PM Subject: [PHP] MYSQL start an auto_increment at a

Re: [PHP] Performance question

2001-01-11 Thread Chris Adams
""Chris Lee"" <[EMAIL PROTECTED]> wrote in message 93l3qd$p98$[EMAIL PROTECTED]">news:93l3qd$p98$[EMAIL PROTECTED]... > has anyone ran any test to see what kind of performance hit? I know people > are allways ranting and raving about single or double quotes regarding > performance and people rant

Re: [PHP]

2001-01-11 Thread Richard Lynch
It was minimally documented for a long time... - Original Message - From: Toby Butzon <[EMAIL PROTECTED]> To: Richard Lynch <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursday, January 11, 2001 5:58 PM Subject: Re: [PHP] Manual suggests 3.0.3, but I can't find any proof of it in >

Re: [PHP] BIG site names using PHP?

2001-01-11 Thread Chris Adams
"Monte Ohrt" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Can anyone give me a list of big named sites (or point me to a list) > that use PHP? > Basically, site names that marketers can recognize as "big names", or > very well known. I haven't had time to u

[PHP-CVS] cvs: CVSROOT / avail cvsusers gen_acl_file.m4

2001-01-11 Thread Rasmus Lerdorf
rasmus Thu Jan 11 22:15:31 2001 EDT Modified files: /CVSROOTavail cvsusers gen_acl_file.m4 Log: Yet another Korean translator Index: CVSROOT/avail diff -u CVSROOT/avail:1.31 CVSROOT/avail:1.32 --- CVSROOT/avail:1.31 Thu Jan 11 12:51:10 2001 +++ CVSROOT

RE: [PHP] Size of Image

2001-01-11 Thread Jason Murray
> I have successfully uploaded the image. But now I want to > know the size width X height of the pixels of the image. Is > this possible to get the size and height of the image by php. Sure, http://www.php.net/manual/ref.image.php ... will show you where to find what you need. Jason -- PH

[PHP] Size of Image

2001-01-11 Thread Statbat
Hello, I have successfully uploaded the image. But now I want to know the size width X height of the pixels of the image. Is this possible to get the size and height of the image by php. Regards Statbat

RE: [PHP] Funny running PHP4 on Apache, Windows 95

2001-01-11 Thread Patrick Dunford
Thanks, that works fine > -Original Message- > From: Brian Clark [mailto:[EMAIL PROTECTED]] > Sent: Thursday, 11 January 2001 14:15 > To: PHP is not a drug . > Subject: Re: [PHP] Funny running PHP4 on Apache, Windows 95 > > > > Hello Patrick, > > (PD == "Patrick Dunford") [EMAIL PROT

RE: [PHP] Limit image height/width on upload

2001-01-11 Thread Jason Murray
> Is there a way to limit the image size with php? You would have to use some image manipulation functions to look at the file once it's been uploaded. Jason -- Jason Murray [EMAIL PROTECTED] Web Design Team, Melbourne IT Fetch the comfy chair! -- PHP General Mailing List (http://www.php.net

[PHP] Limit image height/width on upload

2001-01-11 Thread David Smith
Is there a way to limit the image size with php? WreckRman2 Combat Flight Center http://www.combatfs.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 ad

RE: [PHP] please help - urgent! - email & attachments

2001-01-11 Thread Jason Murray
This might help more, too: http://www.hotscripts.com/PHP/Scripts_and_Programs/Email_Systems/Email_Utili ties/ Jason -- Jason Murray [EMAIL PROTECTED] Web Design Team, Melbourne IT Fetch the comfy chair! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTE

RE: [PHP] please help - urgent! - email & attachments

2001-01-11 Thread Jason Murray
> I am after a php3 script that can do this... > > Have a form of about 20 fields where one of the fields can browse the users > hard drive so they are able to include an image, and then submit the form by > sending an email. All the other fields are just text. > > Kinda like a formail script bu

Re: [PHP] APC Alternative PHP Cache Release Announcement

2001-01-11 Thread Josh G
How's it handle scripts that call eval()? Gfunk My name was Brian McGee, I stayed up listening to Queen, When I was seventeen. http://www.gfunk007.com/ - Original Message - From: "George Schlossnagle" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, Janua

Re: [PHP] mixing HTML and PHP code

2001-01-11 Thread burk
On Thu, 11 Jan 2001, Alex Black wrote: > like this: > > echo ""; > echo ""; > echo "$title"; > echo " href='resources/css/$css.css'>"; > echo " language='javascript'>"; > echo ""; > echo " $title "; insert_css_js_here();

[PHP] APC Alternative PHP Cache Release Announcement

2001-01-11 Thread George Schlossnagle
I'd like to announce the release of the APC Alternative PHP Cache http://apc.communityconnect.com/ . APC works by caching the scripts in shared memory post-compilation to effectively eliminate the overhead of parsing and compilation. APC was developed as a completely free and open alternative to

Re: [PHP] please help - urgent! - email & attachments

2001-01-11 Thread lists
Sounds like you could use a mime_mail class to build your email. The best I've found is at phpWizard and is by Sascha Schumann and Tobias Ratschiller. I have written a very basic downloader script using this class that emails tar.gz packages as attachments to a user upon request. You can try the

[PHP] MYSQL start an auto_increment at a certain number

2001-01-11 Thread Jared Howard
In MySQL, I need to know how to create a row in a table that is an auto_increment and starts at a certain number. I've tried using: CREATE TABLE something ( id_numberint default '5000'auto_increment, UNIQUE id_number (id_number) ); but it sets the default to NULL. How do I do that?

Re: [PHP] :: MySql and PHP Book

2001-01-11 Thread Neil Zanella
On Thu, 11 Jan 2001, Ray Iftikhar wrote: > I was looking for a good book that teaches you how to use PHP (mainly 3) > with MySql. I went to Amazon.com and found "MySql" by Paul Dubois, which was > supposed to be THE book for mySql programming. However, after reading some > of the customer review

[PHP] please help - urgent! - email & attachments

2001-01-11 Thread Sefton
Hello, I am after a php3 script that can do this... Have a form of about 20 fields where one of the fields can browse the users hard drive so they are able to include an image, and then submit the form by sending an email. All the other fields are just text. Kinda like a formail script but with

RE: [PHP] mixing HTML and PHP code

2001-01-11 Thread Maxim Maletsky
We all do the same :-)) then here's a tip: How to make these Content Editors, without even think of the PHP code add a graphic into the text. (ie: an article) you tell them to add in the textbox they typed they article in the following: [img|name|align|valign|border] and that is it. another

Re: [PHP] PDF error with pdf_open_png

2001-01-11 Thread Jared Howard
How do I get those log files? I've tried setting error_log, error_reporting, track_errors, & log_errors in /etc/php.ini. It didn't log to the log file I told it to, or log to the system message log. How do I get it to log this error? At 06:02 PM 1/11/01 -0800, Chris Lee wrote: >Its also very h

RE: [PHP] mixing HTML and PHP code

2001-01-11 Thread Jason Murray
> Absolutely. We've replaced every HTML tag we use often with > PHP functions. We separate content, style, layout, and logic so > using 100% PHP is the best for us. I've done that, to a point. All form input tags have been PHP'd so that I can change their class on the fly across the entire site

Re: [PHP] mixing HTML and PHP code

2001-01-11 Thread Josh G
- Original Message - From: "Jade Ohlhauser" <[EMAIL PROTECTED]> To: "PHP List" <[EMAIL PROTECTED]> Sent: Friday, January 12, 2001 1:40 PM Subject: Re: [PHP] mixing HTML and PHP code > IMHO even better is: > input_text('hello', 20, $value); > > that's how that would appear on our site. We

Re: [PHP] mixing HTML and PHP code

2001-01-11 Thread Tim Zickus
> Alex said: > let's assume you're working on a site, where there are php coders, and html > people: _every_single_ html production person prefers to have code embedded > in html, not the reverse. Agreed, amen, etc. :) On our large multi-member development team projects, we've gone even further

Re: [PHP] mixing HTML and PHP code

2001-01-11 Thread Jade Ohlhauser
> You _actually_ print() or echo() everything you want to send to the > browser? Absolutely. We've replaced every HTML tag we use often with PHP functions. We separate content, style, layout, and logic so using 100% PHP is the best for us. > if you have ever worked in a fast paced production env

[PHP] where does "MAKE INSTALL" put PHP things?

2001-01-11 Thread Derek Sivers
When you do a standard PHP4 "apxs" configure... ./configure --with-apxs=/usr/sbin/apxs --with-mysql=/usr/local/mysql where does it put files when you do a 'MAKE INSTALL' ?? (Or - how would I find out?) -- I have a Linux box that's having C-compiler problems. But since it's the EXACT sam

[PHP] Dir Help PLEASE

2001-01-11 Thread Chris
2 things, first how do I give something the filepath of a folder that proceeded it? Also, how can I set up subdomains like sub.domain.com?

Re: [PHP] PDF error with pdf_open_png

2001-01-11 Thread Chris Lee
Its also very handy when you get an error like that to check you log files, usually when you get no error and no page like that, php has segfaulted apache, might want to check :) there might be other errors in the log files to help you too. Chris Lee Mediawaveonline.com "Jared Howard" <[EMAIL

Re: [PHP]

2001-01-11 Thread Alex Black
hi phillip, I've been teetering back and fourth on that issue with binarycloud: I _love_ using as opposed to the more compatible: the first _feels_ like a key, the latter does not :) great for html templates. _alex -- Alex Black, Head Monkey [EMAIL PROTECTED] The Turing Studio, Inc. htt

Re: [PHP] mixing HTML and PHP code

2001-01-11 Thread Alex Black
> As I said to my HTML Editors: > > Whenever you meet in your code: DO NOT TOUCH IT... > > It works - Programmers and Web Designers have nothing now to do together. > > That is what I love the most of PHP -- you can separate PHP Core and HTML > extremely easily. Couldn't have said it better :

Re: [PHP] mixing HTML and PHP code

2001-01-11 Thread Alex Black
the central point behind all this html-mixing-php stuff is this: _if_ you are going to release code to a population of developers, and you hope that it will be useful to them - that code must be flexible enough for an individual developer to change it to suit their needs. let's assume you're wor

RE: [PHP] includes

2001-01-11 Thread Maxim Maletsky
Think of a library: you make yourself a bunch of files to use somewhere later, and when you need any of them - include it. Functions, classes whatever but not IFs and calculation staff: these would always have to be read... Cheers! -Original Message- From: Dan Phoenix [mailto:[EMA

Re: [PHP] :: MySql and PHP Book

2001-01-11 Thread Philip Olson
Hey Ray, I would suggest looking for books on SQL. I have one (and want more!), it is called "the practical sql handbook" and it's nice. Seems every PHP book deals with MySQL directly too. Anyway, my thought on the matter is go generic, go SQL. Philip On Thu, 11 Jan 2001, Ray Iftikhar wrote

RE: [PHP] mixing HTML and PHP code

2001-01-11 Thread Maxim Maletsky
As I said to my HTML Editors: Whenever you meet in your code: DO NOT TOUCH IT... It works - Programmers and Web Designers have nothing now to do together. That is what I love the most of PHP -- you can separate PHP Core and HTML extremely easily. Cheers, Maxim Maletsky. -Original Messa

Re: [PHP] includes

2001-01-11 Thread Alex Black
we use what could be described as a network of includes in binarycloud, and have seen very little performance impact, especially given the complexity of the stuff we're doing. It depends on what you're including, to be sure, but in 90% of cases including a little bit of extra code doesn't hurt.

[PHP] :: MySql and PHP Book

2001-01-11 Thread Ray Iftikhar
I was looking for a good book that teaches you how to use PHP (mainly 3) with MySql. I went to Amazon.com and found "MySql" by Paul Dubois, which was supposed to be THE book for mySql programming. However, after reading some of the customer reviews, it said that it was "light" in the PHP s

Re: [PHP] mixing HTML and PHP code

2001-01-11 Thread Alex Black
> code snip from phorum > > : () > : > > // > > echo "$lAuthor: $author ($host)\n"; > echo "$lDate: $datestamp\n"; > ?> well, the first example is just improperly structured code. () or: echo "\n"; echo " \n"; echo " \n"; echo "$lAuthor: $author ($host) \n"; echo " \n"; ec

Re: [PHP]

2001-01-11 Thread Philip Olson
Toby, where at in manual? Have looked around : http://www.php.net/manual/language.basic-syntax.php Here it states : "Note: Support for ASP-style tags was added in 3.0.4." Were they added at same time? Is it considered an "ASP-style tag" ? Richard eludes to this fact. Also, it's not

[PHP] includes

2001-01-11 Thread Dan Phoenix
My main question would be the performance advantage (if any) of including functions only when needed..instead of leaving them all in one file..and if php would include it even if the function is never called ...anyone. Dan +--

Re: [PHP] PDF error with pdf_open_png

2001-01-11 Thread Ignacio Vazquez-Abrams
On Thu, 11 Jan 2001, Jared Howard wrote: > I'm trying to include images in my PDF file using pdf_open_png. (I've also > tried using pdf_open_gif and pdf_open_image_file.) But when I add the line: > > $logo = pdf_open_png($pdf, "$CFG->imagedir/logo.png"); > > I get the error: Cannot find serv

[PHP] PDF error with pdf_open_png

2001-01-11 Thread Jared Howard
I'm trying to include images in my PDF file using pdf_open_png. (I've also tried using pdf_open_gif and pdf_open_image_file.) But when I add the line: $logo = pdf_open_png($pdf, "$CFG->imagedir/logo.png"); I get the error: Cannot find server or DNS Error (The page cannot be displayed), and

RE: [PHP] Session File not being deleted

2001-01-11 Thread Jonathan Sharp
not sure, but if all else fails, just cron job it... -Jonathan Sharp Director of Technology - Imprev Inc. Renwick Development Group - Flyerware http://www.flyerware.com/ Phone: (425)688-9200 Cell: (425)766-1398 -Original Message- From: Samantha Savvakis [mailto:[EMAIL PROTECTED]] Sent:

[PHP] APC - new cache on the block

2001-01-11 Thread Monte Ohrt
After the release of Afterburner cache from beware, there is now a new one to check out... APC - Alternative PHP Cache http://apc.communityconnect.com/ This one can work as a drop-in module, a bit handier than recompiling just to try it. -- PHP General Mailing List (http://www.php.net/) To un

RE: [PHP] mixing HTML and PHP code

2001-01-11 Thread Jason Murray
> emacs sucks! vi forever! :P Yes, I think its about time for another round of What Editor Is The Most Awesomest Best And R0xx0rz The World! :) Jason -- Jason Murray [EMAIL PROTECTED] Web Design Team, Melbourne IT Fetch the comfy chair! -- PHP General Mailing List (http://www.php.net/) To un

[PHP] Session File not being deleted

2001-01-11 Thread Samantha Savvakis
Hi, I'm using: SCO Openserver 5.0.5 PHP 4.0.4 I had this problem a little while ago, and didn't find a resolution to it. I'm using sessions for a current application. The sessions are being created and used as I want them to be. I have no problems with the way they are working. The files in my

RE: [PHP] mixing HTML and PHP code

2001-01-11 Thread Ignacio Vazquez-Abrams
emacs sucks! vi forever! :P -- Ignacio Vazquez-Abrams <[EMAIL PROTECTED]> -- 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: [PHP] mixing HTML and PHP code

2001-01-11 Thread Jason Murray
> it's valid to use single-quotes, double-quotes, or NO quotes. If you're going to use no quote, make damn sure you don't have any spaces :) Jason -- Jason Murray [EMAIL PROTECTED] Web Design Team, Melbourne IT Fetch the comfy chair! -- PHP General Mailing List (http://www.php.net/) To unsu

RE: [PHP] mixing HTML and PHP code

2001-01-11 Thread DanO
it's valid to use single-quotes, double-quotes, or NO quotes. specs, anyone? --- The value of the attribute may be either: A string literal, delimited by single quotes or double quotes and not containing any occurrences of the delimiting character. (7) http://www.w3.org/MarkUp/html-

RE: [PHP] mixing HTML and PHP code

2001-01-11 Thread Jason Murray
> > echo ""; > > that isn't html anymore, though. > > even though IE and NS may be forgiving, isn't valid. > > " it is. Er, actually ... you can use any quotes you like, you just have to be consistent and remember to close the one you open. > > Actually, it makes it less useable for me. >

Re: [PHP] mixing HTML and PHP code

2001-01-11 Thread Chris Lee
It works, it works in lynx, netscape 4.76 netscape 6 mozilla 0.7 IE 5.5 opera 5.01 amaya 4.2.1 now I havent used any mac browsers but if it works for all those I assume it will for Mac browsers eh. Chris Lee Mediawaveonline.com "Alex Black" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTE

[PHP] Session Help (transparent sid's)

2001-01-11 Thread Jamie Burns
Hello, Can someone please help? My ISP has recompiled php with the transparent sid support and now when i try to access a certain page for the first time (ie. no cookie yet set) then php is making a right mess of my javascript and html (adding speech marks and question marks in unwanted place

Re: [PHP] mixing HTML and PHP code

2001-01-11 Thread Alex Black
> That's pretty ugly. > > echo ""; that isn't html anymore, though. even though IE and NS may be forgiving, That's a bit better. > This is even better still: > > echo ""; > > Now, I can see the PHP variable used in there a lot easier than I > could before. Syntax highlighting would bring it

RE: [PHP] Dynamic 'left menu's' on site: Like a windows explorersystem???

2001-01-11 Thread DanO
i'm not suggesting that you build inaccessible systems. one should always provide a backup for browsers that don't support your features. ex: -- i'm an advocate of using the most appropriate language to the application, nothing more, nothing less. and sometimes (often,actually), it AIN'T

Re: [PHP]

2001-01-11 Thread Toby Butzon
Manual suggests 3.0.3, but I can't find any proof of it in the changelogs... --Toby - Original Message - From: "Richard Lynch" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, January 11, 2001 6:34 PM Subject: Re: [PHP] > when was > Definitely before that -- Not sure when. > >

RE: [PHP] ik

2001-01-11 Thread Jerry Lake
l Jerry Lake -Original Message- From: Richard Lynch [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 11, 2001 3:37 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] ik k - Original Message - From: <[EMAIL PROTECTED]> Newsgroups: php.general Sent: Thursday, January 11, 2001 5:01

RE: [PHP] Dynamic 'left menu's' on site: Like a windows explorersystem???

2001-01-11 Thread Jason Murray
> javascript IS the optimal solution for a user-friendly dynamic navbar. I don't agree. > check this one out: > http://javascript.internet.com/foldertree/ > i do sense a certain amount of FEAR on behalf of php'ers in regards to > javascript. Because it goes against accessibility. > no web appl

Re: [PHP] Replace a space with _

2001-01-11 Thread Philip Olson
Also consider : $filezip_name = str_replace(' ', '_', $filezip_name); http://php.net/manual/function.str-replace.php It will be faster. Philip On Thu, 11 Jan 2001, Chris Lee wrote: > just add this somewhere near the top. > > $filezip_name = ereg_replace(' ', '_', $filezip_name); >

Re: [PHP] Dynamic 'left menu's' on site: Like a windows explorersystem???

2001-01-11 Thread Josh G
I've got one you guys can have, email me anybody who wants it. Gfunk My name was Brian McGee, I stayed up listening to Queen, When I was seventeen. http://www.gfunk007.com/ - Original Message - From: "DanO" <[EMAIL PROTECTED]> To: "Php-General@Lists. Php. Net" <[E

[PHP] Recomend Book

2001-01-11 Thread Carlos Lora
Hello there, I am new to PHP what would bookm would you recomend? Any help is appreciated. Carlos -- 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] include path confusion

2001-01-11 Thread Randy
Thursday, January 11, 2001, 11:03:31 AM, you wrote: BC>> Using PHP 3.0.18, every, single time I've used something like: BC>> include('../farmers/underwear.php'); BC>> It works as expected. BC> I'm half alseep. I see what you're saying. I suppose if you did: BC> include('corn.php'); BC> It's going

php-general Digest 11 Jan 2001 23:50:32 -0000 Issue 449

2001-01-11 Thread php-general-digest-help
php-general Digest 11 Jan 2001 23:50:32 - Issue 449 Topics (messages 33965 through 34156): Re: HTTP autentification] 33965 by: Michal Thomka Re: file uploading error - can't upload "none" 33966 by: WreckRman2 Stripping!!! 33967 by: K.Simon 33969 by: Moritz

RE: [PHP] Dynamic 'left menu's' on site: Like a windows explorersystem???

2001-01-11 Thread DanO
javascript IS the optimal solution for a user-friendly dynamic navbar. check this one out: http://javascript.internet.com/foldertree/ i do sense a certain amount of FEAR on behalf of php'ers in regards to javascript. no web application is complete without a mix of client-side and server-side

Re: [PHP] Replace a space with _

2001-01-11 Thread Chris Lee
just add this somewhere near the top. $filezip_name = ereg_replace(' ', '_', $filezip_name); Chris Lee Mediawaveonline.com ""David Smith"" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > With the following code how can I check to see if the file being upl

Re: [PHP] mixing HTML and PHP code

2001-01-11 Thread Chris Lee
I have to agree with Jason on this one too. I work in a *production* enviroment, Ive worked on small (2k loc) to medium (45k loc) sites and I see no problem with echo "" accually I see a larger problem with going in and out of PHP, it breaks the consistancy. code snip from phorum : () : //-

RE: [PHP] Sessions, no cookies and enable-trans-sid, oh my

2001-01-11 Thread Chris Hayes
> These are the 3 files I'm using; they all reside in the same dir: > > The PHPSESSID variable is *not* being passed on > the url going between page1 and page 2 and the > session id is always different (obviously). > --enable-trans-sid IS turned on and I have no idea > what's going on... When

Re: [PHP] Dynamic 'left menu's' on site: Like a windows explorersystem???

2001-01-11 Thread Josh G
I have a working javascript system for this, email me anybody if you want it. Note - It's a hulluva lot harder than you think to write Gfunk My name was Brian McGee, I stayed up listening to Queen, When I was seventeen. http://www.gfunk007.com/ - Original Message

[PHP] unsubscribe null@terra.com.br

2001-01-11 Thread Alex Black
his mailbox is full, I'm getting spam'd by his mailserver :) -alex -- Alex Black, Head Monkey [EMAIL PROTECTED] The Turing Studio, Inc. http://www.turingstudio.com vox+510.666.0074 fax+510.666.0093 Saul Zaentz Film Center 2600 Tenth St Suite 433 Berkeley, CA 94710-2522 -- PHP General M

Re: [PHP] Function -> Sending URL's

2001-01-11 Thread Alex Black
> function testPassVar($url) { > $name = "TEST"; > echo "Click"; > } > > $url = 'asdfasdf.php3?name=$company'; > testPassVar($url); > echo "This is a $name"; > ?> > $url = "asdfasdf.php3?name=$company"; you need double quotes for the $company to be eval'd also, $name is defined within a func

Re: [PHP] globals broke

2001-01-11 Thread Chris Lee
well thats a strange one isn't it. I would double check your php.ini make sure it wasn't changed, also check the phpinfo() output to see if its accually using the right php.ini file http://php.net/manual/function.phpinfo.php can you use the GLOBALS array? echo $GLOBALS['foo']; I dont quite kno

Re: [PHP] number of users currently on web

2001-01-11 Thread Alex Black
yes, use binarycloud. (binarycloud.com) select count(*) from bc_logged_in; :) _alex -- Alex Black, Head Monkey [EMAIL PROTECTED] The Turing Studio, Inc. http://www.turingstudio.com vox+510.666.0074 fax+510.666.0093 Saul Zaentz Film Center 2600 Tenth St Suite 433 Berkeley, CA 94710-2522

Re: [PHP] ik

2001-01-11 Thread Richard Lynch
k - Original Message - From: <[EMAIL PROTECTED]> Newsgroups: php.general Sent: Thursday, January 11, 2001 5:01 PM Subject: [PHP] ik j -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To c

Re: [PHP] killing the session

2001-01-11 Thread Richard Lynch
Force that page not to be cached. You're probably building a new session with all the date from the cart... See the Code Archives linked from http://php.net/links.php Search for "cache" and use all the related headers you can find. - Original Message - From: "Angel Behar" <[EMAIL PROTE

Re: [PHP]

2001-01-11 Thread Richard Lynch
> when was 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: [PHP] JavaScript/PHP documentation

2001-01-11 Thread Richard Lynch
I *think* the JavaScript (and DHTML and whatnot) utilize server-side code to detect your browser and come up with different code. The alternative is to crash some browsers, which is not so nice. :-^ I think some complaints were even received at php.net from other webmasters who stole the site wh

Re: [PHP] Lost connection to MySQL server during query

2001-01-11 Thread Richard Lynch
>[MySQL broken on Solaris?] > Any help appreciated - otherwise I have to go look at postgresql :( Hey, watch it! PostgreSQL rocks! I personally always find myself ham-strung by MySQL's lack of sub-selects and aggragates not allowed in the where clause... You can work around it, but it's a PITA

Re: [PHP] Redhat 7 problem and fix

2001-01-11 Thread Richard Lynch
{} inside of "" now does order-of-operations, I think... Something like that. It's in the docs somewhere. I thought this was a PHP3 -> PHP4 change, not related to RedHat nor ereg in particular... - Original Message - From: Michael Kimsal <[EMAIL PROTECTED]> Newsgroups: php.general Sen

Re: [PHP] Post automaticly

2001-01-11 Thread Richard Lynch
Yes. Search for "PostToHost" and "Rasmus Lerdorf" in google, dogpile, or whatever. Or, dig through Manuel Lemos' class libraries for a OO version. - Original Message - From: Knut Sætre <[EMAIL PROTECTED]> Newsgroups: php.general Sent: Thursday, January 11, 2001 10:00 AM Subject: [PHP] P

Re: [PHP] Help---using pdfs with PHP

2001-01-11 Thread Richard Lynch
What's URL?... Is that the actual code you have? If so, the browser is going to try to do a *RELATIVE* path to that, I think... - Original Message - From: Sam <[EMAIL PROTECTED]> Newsgroups: php.general Sent: Thursday, January 11, 2001 7:25 AM Subject: [PHP] Help---using pdfs with PHP

Re: [PHP] Iterating Multidimensional Arrays

2001-01-11 Thread Richard Lynch
What output did you get? What did you expect? - Original Message - From: "Cybercandy Ltd" <[EMAIL PROTECTED]> Newsgroups: php.general Sent: Thursday, January 11, 2001 6:54 AM Subject: [PHP] Iterating Multidimensional Arrays > I'm a bit stuck on this issue > > The following script prod

Re: [PHP] image through php

2001-01-11 Thread Richard Lynch
Search the Code Archives linked from http://php.net/links.php Basically, it's just this: There are different twists and turns depending on how you want the image cached, and whether you want the images inside your web-tree or not, and if you want just GIF or a more general-purpose solution or.

Re: [PHP] Cookies

2001-01-11 Thread Richard Lynch
http://php.net/setcookie Not sure why you want to put them in a cookie, though. The browser is going to keep representing the $HTTP_AUTH_USER and password variables as long as they don't quit their browser... - Original Message - From: "David Smith" <[EMAIL PROTECTED]> Newsgroups: php.g

Re: [PHP] Change Array Data

2001-01-11 Thread Richard Lynch
$cart['product17'] = 42; #order lots of these. unset($cart['product4']; # Don't need any of those. You probably should re-read the first section of the PHP Manual at http://php.net/manual A lot of the basics like this are in there to get you going strong. - Original Message - From: Kers

Re: [PHP] Netscape does not show all the variables

2001-01-11 Thread Alex Black
very hard. that assumes you can do a reverse lookup, which is not always the case, and even if you can it sometimes takes a _huge_ amount of time... you could do it off the selected language, but that doesn't give you geographical location. better to just ask. hi, where are you? and set a coo

Re: [PHP] running scripts

2001-01-11 Thread Alex Black
probably a better idea to spawn a CGI version of your email sending script than to run it from the client... that means you'd have to bump max_executio_time way the hell up, which will affect the rest of your php apps on your server. _alex -- Alex Black, Head Monkey [EMAIL PROTECTED] The Turi

Re: [PHP] Dynamic 'left menu's' on site: Like a windows explorersystem???

2001-01-11 Thread Alex Black
you have two choices: yes, php can do it, but as php is a server side language, you have to refresh the page... or, you can go the much-more-dangerous-and-much-less-likely-to-work-on-many-browsers javascript route. I suggest the first :) if you _do_ end up writing some good code, please make

[PHP] globals broke

2001-01-11 Thread Jon Rosenberg
I just installed 4.0.4pl1 upgrade from 4.0.3pl1. I changed nothing in my ini file and just left it inplace from the previous installation. I used the same configure options, --with-apxs and --with-mysql Now, my global variables don't work in my functions. ie. $foo = "bar"; $rap = 7; function

RE: [PHP] mixing HTML and PHP code

2001-01-11 Thread Jason Murray
> if you have ever worked in a fast paced production environment, where > html is changed sometimes 5 times a day, digging through hundreds > of lines of: > > echo " value=\"$value\">" > > starts to make you insane. That's pretty ugly. echo ""; That's a bit better. This is even better stil

Re: [PHP] apple-macintosh

2001-01-11 Thread Alex Black
eh? on OS X? what is your (pardon, insane) justification for having pressure to get a piece of software on a yet-to-be-released operating system? go download freeBSD it works! OSX is just beta... -a -- Alex Black, Head Monkey [EMAIL PROTECTED] The Turing Studio, Inc. http://www.turingstudio

[PHP] Replace a space with _

2001-01-11 Thread David Smith
With the following code how can I check to see if the file being uploaded has a space in it? Maybe replace them with a _ or reject them all together... if ($FileType== "none") { print "ERROR! - You must specify a File Type before we can begin the upload."; }

Re: [PHP] mixing HTML and PHP code

2001-01-11 Thread Alex Black
yes: if you have ever worked in a fast paced production environment, where html is changed sometimes 5 times a day, digging through hundreds of lines of: echo "" starts to make you insane. speaking as an html author, and a lover of php, _please_: it makes the code useable. I've had to avoi

RE: [PHP] Easy Path ?

2001-01-11 Thread Jason Murray
> if I have a dir like this > root\main\test.php > > how could I access this: from that script > root\test\test.php > > basicly I mean how do I access a path before the current one $PHP_SELF will point to "root\test\test.php" (though, I think you'd be better off thinking of "/root/test/test.php

[PHP] Easy Path ?

2001-01-11 Thread Chris
if I have a dir like this root\main\test.php how could I access this: from that script root\test\test.php basicly I mean how do I access a path before the current one

Re: [PHP] killing the session

2001-01-11 Thread Jon Rosenberg
try this: session_unset(); - i think that's the one session_destroy(); - Jonathan Rosenberg Be fierce, be fabulous, change the world! - Original Message - From: "Angel Behar" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> S

Re: [PHP] php binary?

2001-01-11 Thread Brian White
I am brand new to this list but I have used PHP a little Yes - you can use PHP 3 in stand alone mode Issues: 1) The usage claimed to be able to set variables on the command line. I was able to set one but not more than that - basically I just ended up creating a temporary wrappe

[PHP] ik

2001-01-11 Thread philex
j __ ifrance.com, l'email gratuit le plus complet de l'Internet ! vos emails depuis un navigateur, en POP3, sur Minitel, sur le WAP... http://www.ifrance.com/_reloc/email.emailif -- PHP General Mailing List (http://w

[PHP] killing the session

2001-01-11 Thread Angel Behar
Hi !!! I'm using php 4.0.3pl1 with session support and I can't KILL the session, I unregister all the variables then I session_destroy() the session but if I push the back button I still have the session working. I had been reading all the documentation and cant' find the straight answer to this

  1   2   3   4   >