php-windows Digest 23 Oct 2003 13:08:04 -0000 Issue 1970 Topics (messages 21865 through 21873):
How to unset $_POST variable? 21865 by: William Cheung PHP and Server 2003 21866 by: Joe Crawford Jr. 21867 by: Joe Crawford Jr. 21872 by: Joe Crawford Jr. Re: [PHP] Age from birthdate? 21868 by: John W. Holmes PHP & JavaScript 21869 by: BQ777 Re: [PHP] PHP & JavaScript 21870 by: Mike Migurski 21871 by: BQ777 Re: size for background image /CBKERNDTER 21873 by: Chris B. Kerndter Administrivia: To subscribe to the digest, e-mail: [EMAIL PROTECTED] To unsubscribe from the digest, e-mail: [EMAIL PROTECTED] To post to the list, e-mail: [EMAIL PROTECTED] ----------------------------------------------------------------------
--- Begin Message ---
What is the proper way to unset a $_POST variable? I found that when I refresh the screen, the $_POST variable is always there. I have tried using “unset” or assign a value to it and none of them work.
William Cheung B.Sc, MCSE, MCDBA
--- End Message ---
--- Begin Message ---Hello, i have tried to get my server 2003 working bu5t i am not sure what i am doing wrong, i have installed the application server and iis was installed.... for some reason right from the get go the http://localhost/ doesn't work says this You are not authorized to view this page You might not have permission to view this directory or page using the credentials you supplied. -------------------------------------------------------------------------- If you believe you should be able to view this directory or page, please try to contact the Web site by using any e-mail address or phone number that may be listed on the localhost home page. You can click Search to look for information on the Internet. HTTP Error 403 - Forbidden Internet Explorer i have tried to install php and see if to worked afterwards but it didn't i know how to setup a web server in 2k and xp but for some reason the same steps are not working for 2003 server if anyone here has used 2003 server i owuld appreciate any help you can offer :) -- JOSEPH CRAWFORD JR.
--- End Message ---
--- Begin Message ---i must let you know that IIS is working properly though because i can remotely login to the web based administration that uses IIS just something with the local web site -- JOSEPH CRAWFORD JR. "Joe Crawford Jr." <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Hello, i have tried to get my server 2003 working bu5t i am not sure what i am doing wrong, i have installed the application server and iis was installed.... for some reason right from the get go the http://localhost/ doesn't work says this You are not authorized to view this page You might not have permission to view this directory or page using the credentials you supplied. -------------------------------------------------------------------------- If you believe you should be able to view this directory or page, please try to contact the Web site by using any e-mail address or phone number that may be listed on the localhost home page. You can click Search to look for information on the Internet. HTTP Error 403 - Forbidden Internet Explorer i have tried to install php and see if to worked afterwards but it didn't i know how to setup a web server in 2k and xp but for some reason the same steps are not working for 2003 server if anyone here has used 2003 server i owuld appreciate any help you can offer :) -- JOSEPH CRAWFORD JR.
--- End Message ---
--- Begin Message ---i have figured this out and i am going to post how to do it incase other people would like to get this to work Start -> Administrative Tools -> Internet Information Services Manager Click the + by your computer name Go to Web Service Extensions And Add one for PHP and enable it. Once you do that you should have no problems, install PHP and restart your IIS. -- JOSEPH CRAWFORD JR. "Joe Crawford Jr." <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Hello, i have tried to get my server 2003 working bu5t i am not sure what i am doing wrong, i have installed the application server and iis was installed.... for some reason right from the get go the http://localhost/ doesn't work says this You are not authorized to view this page You might not have permission to view this directory or page using the credentials you supplied. -------------------------------------------------------------------------- If you believe you should be able to view this directory or page, please try to contact the Web site by using any e-mail address or phone number that may be listed on the localhost home page. You can click Search to look for information on the Internet. HTTP Error 403 - Forbidden Internet Explorer i have tried to install php and see if to worked afterwards but it didn't i know how to setup a web server in 2k and xp but for some reason the same steps are not working for 2003 server if anyone here has used 2003 server i owuld appreciate any help you can offer :) -- JOSEPH CRAWFORD JR.
--- End Message ---
--- Begin Message --- DvDmanDT wrote:
How would I get the age of someone if I store the birthdate in a date field? I just realized FLOOR((UNIX_TIMESTAMP(NOW()) - UNIX_TIMESTAMP(birthdate))/60/60/24/365.25) wont work for persons born before 1970... :p I must get the current age in years, and I must be able to select by age... :p Any ideas?
YEAR(CURRENT_DATE) - YEAR(dob) - (IF(DAYOFYEAR(dob)>DAYOFYEAR(CURRENT_DATE),1,0)) AS age
will work for MySQL, where "dob" is your DATE date of birth column.
-- ---John Holmes...
Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/
php|architect: The Magazine for PHP Professionals – www.phparch.com
--- End Message ---
--- Begin Message ---Hi everybody! Have somebody any idea how I could do something like that? <? settype($phpScreenWidth, "string"); settype($phpScreenHeight, "string"); ?> <script language="javascript"> var phpScreenWidth, phpScreenHight; phpScreenWidth = screen.width; phpScreenHeight = screen.height; </script> <? echo "Width:|".$phpScreenWidth."|<br>"; echo "Height:|".$phpScreenHeight."|<br>"; ?> I know that this code is not working, it is just to see what I want to do. If somebody know a solution, like this, then please let me know. greetZ CBQ
--- End Message ---
--- Begin Message --->Have somebody any idea how I could do something like that? <snip javascript and PHP> You're somewhat out of luck, as the chain of events in your typical HTTP transaction looks something like this... ---->[time]---------------------------------> client request received from browser | +-> PHP code executed on server | +-> text output to webserver (including javascript source) | +-> [drawing of cloud representing internet] | +-> text input to web browser on client side | +-> javascript executed by client ---->[time]---------------------------------> ...The only way to have the javascript affect the PHP, is to make a subsequent request /back/ to the server after the javascript has started executing. You can, for example, package the screen size into a GET variable appended to an image request. --------------------------------------------------------------------- michal migurski- contact info and pgp key: sf/ca http://mike.teczno.com/contact.html
--- End Message ---
--- Begin Message ---Oh I see. Well I thought that, but I wasn't sure. Ok I will do this way. No I have an direction :) Thanks a lot. -----Original Message----- From: Mike Migurski [mailto:[EMAIL PROTECTED] Sent: Donnerstag, 23. Oktober 2003 03:11 To: BQ777 Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: [PHP-WIN] Re: [PHP] PHP & JavaScript >Have somebody any idea how I could do something like that? <snip javascript and PHP> You're somewhat out of luck, as the chain of events in your typical HTTP transaction looks something like this... ---->[time]---------------------------------> client request received from browser | +-> PHP code executed on server | +-> text output to webserver (including javascript source) | +-> [drawing of cloud representing internet] | +-> text input to web browser on client side | +-> javascript executed by client ---->[time]---------------------------------> ...The only way to have the javascript affect the PHP, is to make a subsequent request /back/ to the server after the javascript has started executing. You can, for example, package the screen size into a GET variable appended to an image request. --------------------------------------------------------------------- michal migurski- contact info and pgp key: sf/ca http://mike.teczno.com/contact.html -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---U cant set a size for a background img, it tiles automatically. Plese refer to any HTML or CSS Reference Greetings, [EMAIL PROTECTED] "Rinku Shivnani" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED] > I want to set one image as background and on whole page. But I cant do it as it > comes in tiled form. So what to do to set the size for backgroung image......
--- End Message ---