[PHP] Why using this? When....
Hey! What's really the meaning with whatever.php?page=1 when you are NOT using a db? Just cuz it looks cool? Or is there a better reason? -Cuz you could do a href=whatever.htm instead of blabla.php?page=1 (having include('blabla.htm'); in a script in blabla.php...of course) Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Why using this? When....
Ok, I get it. Exepet passing information there isn't other meaning right? ... Erik Price [EMAIL PROTECTED] escribió en el mensaje [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... On Monday, March 25, 2002, at 09:31 AM, ...::: Rober2.com :::... wrote: What's really the meaning with whatever.php?page=1 when you are NOT using a db? Just cuz it looks cool? Or is there a better reason? -Cuz you could do a href=whatever.htm instead of blabla.php?page=1 (having include('blabla.htm'); in a script in blabla.php...of course) You can pass $_GET variables in this way, which become available on the next page. Here's an example: http://domain.com/whatever.php?theme=metallic Now in the whatever.php script, if there is code like this: // determine user's theme preferences print link rel=\stylesheet\ type=\text/css\ href=\; if ($_GET['theme']) { switch $_GET['theme'] { case 'sky': print 'sky.css'; case 'metallic': print 'metallic.css'; default: print 'standard.css'; } } else { print 'standard.css'; } print \ /; // finish the link tag Obviously, you wouldn't really use a theme in this fashion since you'd have to replicate this value in every link in your document -- this kind of thing is more appropriate to have in a session variable. But the lesson is the same -- variables can be passed in this fashion for any purpose, not just database access. (It's called passing a variable in the querystring.) HTH, Erik Erik Price Web Developer Temp Media Lab, H.H. Brown [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Automatic Language Detection
Hey! I want to have my website on English, Spanish and Norwegian so I want a PHP script that sends the user to the page on their language. I've seen some portals doing some PHP things, and sending the user to a 'fancy' URL with the Languange that their Borwser/OS is on. Can someone please tell me how it's done? Thanks for your support... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] A Language Script?
Hey! I want to have my website on English, Spanish and Norwegian so I want to have a PHP script that sends the user to the page on their language. I've seen some portals doing some PHP things, and sending the user to a 'fancy' URL with the Languange that their Borwser/OS is on. Can someone please tell me how it's done? Thanks for your support... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Does anybody use UltraDev?
Hey! Does anybody use UltraDev for PHP? Any comments about it? (Personally I go for Visual PHP Studio) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Create Email POP accounts with PHP
vpopmail? Dan Harrelson [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... | I am a newbie and can't tell you how to do it, but I know that the book | I am reading can! Chapter 27 is titled Building a Web-based Email | Service. The Book is title PHP and MySQL Web Development and I like | it alot. It was recommended on the mysql.com. | | http://tangledweb.com.au/ | | -Dan | | | | | --- Julian [EMAIL PROTECTED] wrote: | Hello! | | I want to know how I can create email POP accounts from a script PHP. | | | If somebody can help me, thank ahead of time! | | Regards! Julian | | | -- | PHP General Mailing List (http://www.php.net/) | To unsubscribe, visit: http://www.php.net/unsub.php | | | | __ | Do You Yahoo!? | Yahoo! Movies - coverage of the 74th Academy Awards® | http://movies.yahoo.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php