Re: [PHP] form variables issue

2006-01-31 Thread Richard Correia
Can you check the source code? are there values in source, but it is not displayed on the browser? input type=text value=My Name is Richard name=first_name check this code snippet ?php echo get_magic_quotes_gpc(); // 1 echo $_POST['lastname']; // O\'reilly echo

Re: [PHP] Problems with realpath()

2006-01-31 Thread Richard Correia
I think the DOCUMENT_ROOT is changed for new php implementation. Thanks Rich On 1/31/06, Ron King [EMAIL PROTECTED] wrote: Hi, My hosting isp just upgraded from 4.3.1 to 4.4.1, and some of the tools I use (from InterAKT) no longer work. After doing quite a bit of research, I've seen a

Re: [PHP] session loss

2006-01-31 Thread Richard Correia
Which php version and platform? Thanks Rich On 2/1/06, Dave Goodchild [EMAIL PROTECTED] wrote: Hi all - does anyone know why, in certain cases, session variables are lost from the $_SESSION superglobal array? I am writing a session-driven app and for some reason the testing crew lose a

Re: [PHP] Embedding HTML in PHP

2006-01-30 Thread Richard Correia
Try to pass your content through htmlentities function. You can see the use of this function at http://www.weberdev.com/get_example-4208.html Thanks Rich On 1/31/06, Jedidiah [EMAIL PROTECTED] wrote: I apologize for the multi-post if this has reached the group already, but I have never

Re: [PHP] query regard forms in PHP

2006-01-30 Thread Richard Correia
Another die hard question .. huh? Your all problems can be solved if you spend some time on http://weberdev.com. The answer to your question is www.weberdev.com/get_example-3927.html Thanks Richard Correia On 1/29/06, suresh kumar [EMAIL PROTECTED] wrote: hai, i am having 3 files

Re: [PHP] PHP5 Build - test.php not working

2006-01-30 Thread Richard Correia
I think your webserver is not treating .php as script file. AddType application/x-httpd-php .php http://www.weberdev.com/Manuals/PHP/install.windows.apache2.html The above instructions are for windows, but you will get the idea. Thanks, Rich On 1/31/06, Tod Thomas [EMAIL PROTECTED] wrote:

Re: [PHP] PHP5 Build - test.php not working

2006-01-30 Thread Richard Correia
can you try httpd -v, which all dynamic modules are listed? Rich On 1/31/06, Tod Thomas [EMAIL PROTECTED] wrote: Richard Correia wrote: I think your webserver is not treating .php as script file. AddType application/x-httpd-php .php http://www.weberdev.com/Manuals/PHP

Re: [PHP] A black thumbnail.

2006-01-27 Thread Richard Correia
Hi Tedd, Dynamic Thumbnail generation: http://www.weberdev.com/ViewArticle-388.html On 1/28/06, tedd [EMAIL PROTECTED] wrote: Hi: I'm trying to create a thumbnail from a jpeg stored in a long blob in mySQL. What's wrong here? I get an image that's the correct size, but it's black.

Re: [PHP] Apache is not parsing .php files

2006-01-27 Thread Richard Correia
have you added .php .php3 .php4 extenstions to be treated as php files? Thanks, Richard On 1/27/06, sanjay [EMAIL PROTECTED] wrote: Hi, I have a strange problem while trying to run php based applications. Lets start with phpMyAdmin, a very popular open source tool to manage MySQL

Re: [PHP] upload_max_filesize

2006-01-25 Thread Richard Correia
check MAX_FILE_SIZE attribute of file tag. Also does your webserver impose any file upload limit? Thanks Richard On 1/25/06, Daniel Lahey [EMAIL PROTECTED] wrote: A client has started experiencing problems with uploading files larger than the default 2M set in php.ini. The problem only

Re: [PHP] function preg_match()

2006-01-25 Thread Richard Correia
Hey Denyl, Simple workaround ... you can use ereg_replace insted of preg_replace http://www.weberdev.com/get_example.php3?Function=ereg-replace You can sort out your PCRE installation/configuration later. Thanks, Richard On 1/26/06, Denyl Meneses Guillén [EMAIL PROTECTED] wrote: When I try

Re: [PHP] forwarding from virtual email account to real email account

2006-01-25 Thread Richard Correia
Are you looking for something like this? SMTP using PHP? http://www.weberdev.com/get_example-4295.html Thanks Richard On 1/25/06, Binay [EMAIL PROTECTED] wrote: Hi All, Is it possible that we create a virtual email account(no physical existence) e.g [EMAIL PROTECTED] which will be

Re: [PHP] absolute vs relative path?

2006-01-25 Thread Richard Correia
I would suggest to keep a simple variable $HOSTNAME in your config file. Thanks Richard On 1/25/06, William Stokes [EMAIL PROTECTED] wrote: Hello, I Have a web site on one server and a test site on another. How can I build the hyperlinks so that they work on both servers without

Re: [PHP] imagettftext, text values. How to add a new line? is it \n?

2006-01-24 Thread Richard Correia
hey, Check the properties at http://www.weberdev.com/Manuals/PHP/function.imagettftext.html You can try second imagettftext with new X and Y co-ordinates. Thanks Richard On 1/25/06, Louie Miranda [EMAIL PROTECTED] wrote: imagettftext($im, $size, 0, 2, 13, $text_color,

Re: [PHP] Problem with Sessions

2006-01-24 Thread Richard Correia
upgrade to 4.4.X 4.2 has known problems in session handling. Thanks, Richard On 1/24/06, Barry [EMAIL PROTECTED] wrote: Hi! I got a very funny problem. I wonder if anyone else encountered that. I start a Session at Shop startpage to keep some arrays and such. Stuff you need for the Cart

Re: [PHP] RE: (SCL: 5) [PHP] query problem.

2006-01-24 Thread Richard Correia
Remove those brackets and . Or print htmlentities($email_address); Thanks Richard On 1/24/06, Duffy, Scott E [EMAIL PROTECTED] wrote: Viewing in browser? If so view source. -Original Message- From: Angelo Zanetti [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 25, 2006 7:01

RE: [PHP] Use of Ampersand in php

2006-01-23 Thread Richard Correia
Hey, Check out this example at famous http://www.weberdev.com http://www.weberdev.com/get_example-3871.html Let me know if you need more information. Thanks, Richard -Original Message- From: Nirmalya Lahiri [mailto:[EMAIL PROTECTED] Sent: Monday, January 23, 2006 8:34 AM To:

RE: [PHP] Search files in a directory!

2006-01-23 Thread Richard Correia
Hey, Checkout the following example. This example lists the directory content; you can do a simple string matching. http://www.weberdev.com/get_example-1572.html Thanks, Richard Correia -Original Message- From: Nicholas Couloute [mailto:[EMAIL PROTECTED] Sent: Monday, January 23, 2006

RE: [PHP] phpmyadmin import

2006-01-23 Thread Richard Correia
Hey Will, Following example will give you correct idea where to look. http://www.weberdev.com/get_example-3688.html Thanks, Richard Correia -Original Message- From: William Stokes [mailto:[EMAIL PROTECTED] Sent: Monday, January 23, 2006 7:08 PM To: php-general@lists.php.net Subject

Re: [PHP] Cookie reposted

2006-01-23 Thread Richard Correia
By any chance, you are rewritting it/deleting it? Thanks Rich On 1/24/06, tedd [EMAIL PROTECTED] wrote: Tedd, The cookie is being set on the www.xn--ovg.com domain. The cookie is being read on xn--ovg.com domain. This is perceived to be a security risk, so the cookie isn't sent.

Re: [PHP] Cookie reposted

2006-01-23 Thread Richard Correia
Can you check your temporary internet files for the cookie? Does that cookie is deleted from the browser cache? With OS/Webserver/browser you are using? Thanks Rich On 1/24/06, tedd [EMAIL PROTECTED] wrote: By any chance, you are rewritting it/deleting it? Thanks Rich Rich: I'm

Re: [PHP] Reference Notices -- Urgent

2006-01-23 Thread Richard Correia
Hey Todd, You need to check the setting of error reporting in php.ini file. http://www.weberdev.com/Manuals/PHP/ref.errorfunc.html Thanks Richard On 1/24/06, Todd Brown [EMAIL PROTECTED] wrote: I'm getting the following notices: Notice: Only variables should be assigned by reference in

RE: [PHP] Count of elements in XML

2006-01-20 Thread Richard Correia
Hi Jay, Check the example at http://www.weberdev.com/Manuals/PHP/function.simplexml-element-children.html Thanks, Richard -Original Message- From: Jay Paulson [mailto:[EMAIL PROTECTED] Sent: Friday, January 20, 2006 11:06 PM To: PHP LIST Subject: [PHP] Count of elements in XML I was

RE: [PHP] getting list of files included

2006-01-20 Thread Richard Correia
Check the example at http://www.weberdev.com/Manuals/PHP/function.get-included-files.html Thanks, Richard -Original Message- From: Diana Castillo [mailto:[EMAIL PROTECTED] Sent: Friday, January 20, 2006 11:55 PM To: php-general@lists.php.net Subject: [PHP] getting list of files

Re: [PHP] help me pllzzzzzz

2006-01-18 Thread Richard Correia
,MySQL scripts. Check out and list can saved from future urgent requests :) Thanks, Richard Correia On 1/18/06, suresh kumar [EMAIL PROTECTED] wrote: hi, i am having 2 combo box one for city another one for country,when i select particular country say india their corresponding cities

Re: [PHP] how 2 open File Browser window in PHP

2006-01-17 Thread Richard Correia
I think you need to take a close look at http://http://www.weberdev.com/ You can locate a cool file upload script at * http://www.weberdev.com/get_example-3923.html* Thanks Richard On 1/17/06, suresh kumar [EMAIL PROTECTED] wrote: hi, i dont know exact PHP code for how 2 open file

Re: [PHP] need help arranging files!

2006-01-17 Thread Richard Correia
You can locate a good directory reading script at http://www.weberdev.com/get_example-1456.html Thanks, Richard On 1/17/06, Nicholas Couloute [EMAIL PROTECTED] wrote: I need to know how to arrange files alphabetically in my directory when I display it on the browser! I have it display the

Re: [PHP] RE: header data being inserted into message

2006-01-17 Thread Richard Correia
Hey, You can use the readymase mailer class from http://www.weberdev.com/get_example-462.html and http://www.weberdev.com/get_example-3724.html Thanks Richard On 1/17/06, ET Support [EMAIL PROTECTED] wrote: Hello all, I am having a problem using PHP's mail function to send mail via BCC

Re: [PHP] Best way to do this: www.domain.com?page=var

2006-01-17 Thread Richard Correia
I think you can do it using Location header. There is no need to use refresh. get more info at http://www.weberdev.com/Manuals/PHP/function.header.html Thanks Richard Correia On 1/17/06, Michael Hulse [EMAIL PROTECTED] wrote: Hello, What would be the best way to get a page variable like

Re: Re[2]: [PHP] Best way to do this: www.domain.com?page=var

2006-01-17 Thread Richard Correia
Hey Steve, I know it can be done easily using apache rewrite rules. Since this user may not know it, I suggested location header. Rich On 1/17/06, Steve Clay [EMAIL PROTECTED] wrote: Tuesday, January 17, 2006, 10:54:21 AM, [EMAIL PROTECTED]: If you can't set a new 'default page' on your

Re: [PHP] help plz

2006-01-16 Thread Richard Correia
Hey Suresh, I know ..we all have faced similar problem when we started our career in php perl mysql. Please visit the http://weberdev.com for ultimate article and code example for Php and Mysql. Try Wrox books for php5. Thanks Richard On 1/16/06, suresh kumar [EMAIL PROTECTED] wrote: hi,

Re: [PHP] how 2 stroe images in Mysql Database using PHP

2006-01-16 Thread Richard Correia
Hey ... Ready example ... http://www.weberdev.com/get_example-4062.html Thanks, Richard On 1/16/06, suresh kumar [EMAIL PROTECTED] wrote: Hi, i dont know how 2 store images in gif/jpeg format in Mysql Database.i also want 2 know PHP Code 2 store images in Mysql Database .reply me

Re: [PHP] PHP5/MySQL5/Apache2 Problems

2006-01-15 Thread Richard Correia
can you post the exact errors? Richard On 1/16/06, Death Gauge [EMAIL PROTECTED] wrote: I've done everything I can think of to make PHP run with MySQL and Apache. I added PHP as a module to Apache2. I then told PHP that the extension_dir=./ext and then uncommented extenstion=php_mysql.dll

Re: [PHP] Parsing a large file

2006-01-13 Thread Richard Correia
best way I think is nohup grep -i string log1 log2 log3 ...logx newfile This will run this command in background and you can work on other meanwhile. Thanks Richard On 1/13/06, Wolf [EMAIL PROTECTED] wrote: I have large log files from a web server (about a gig in size) and need to parse

Re: [PHP] Lions and tigers and slashes, oh my!

2006-01-13 Thread Richard Correia
I think right you need to check urlencode. You can check a nice example at following php mysql resource site http://www.weberdev.com/get_example-481.html Thanks Richard Correia On 1/13/06, Jay Blanchard [EMAIL PROTECTED] wrote: I am having a problem with a an ampersand sign. I have a list

[PHP] PHP for Mac

2006-01-12 Thread Richard Correia
Hi, I want to install PHP5 on Mac powerbook G4. Can someone please let me know where I can find it and it's related module? I am mainly looking for GD and mingswf module on Mac. Thanks Richard