[PHP] Re: Re-inserting newlines

2005-06-23 Thread JB05UK
This is the correct way to make a safe mysql query, see if it makes a difference, taken from:- http://php.net/manual/en/function.mysql-real-escape-string.php Philip Thompson wrote: Hi all. I have searched for a way to figure out this problem, but nothing is popping up. Here's th

Re: [PHP] Re: So many returned mail notices!

2005-06-21 Thread JB05UK
Chris W. Parker wrote: JamesBenson on Tuesday, June 21, 2005 8:41 AM said: You could unsuscribe, open your news client and enter news.php.net No. you can then browse at your own leasure, it does actually say a warning msg at the bottom of this page, http:/

[PHP] Re: GD library images not displaying

2005-06-21 Thread JB05UK
Found this in the PHP manual, To enable GD-support configure PHP --with-gd[=DIR], where DIR is the GD base install directory. To use the recommended bundled version of the GD library (which was first bundled in PHP 4.3.0), use the configure option --with-gd. GD library requires libpng and lib

[PHP] Re: MYSQLI, Class not found?

2005-06-21 Thread JB05UK
Try placing the following into a .php file, If that fails you either dont have a mysql server or PHP was not compiled with mysql support, see here for instructions http://php.net/manual/en/ref.mysql.php [EMAIL PROTECTED] wrote: Hey guys, I'm doing a tutorial from a book (PHP an

[PHP] Re: SFTP problems

2005-06-20 Thread JB05UK
Read the php man, it says to use the 'b' flag for binary files, infact it says to use it most the time anyway, if im not mistaken. Lowell Allen wrote: I need to use SFTP to send text files and binary files from one server to another, but I'm unable to use fopen on the remote server, and if I

[PHP] Re: retreiving postal/zip codes with PHP

2005-06-14 Thread JB05UK
ive used royal mail before for my ebay sales, they give so many lookups per day for free, not enough for a website to use, im not sure any other service would be accurate or free but let us know if you do find any which are because I need something like this also. I. Gray wrote: Hi. I was

[PHP] Re: protect file access outside webroot

2005-06-06 Thread JB05UK
Bosky, Dave wrote: Currently I upload them the htsdata directory, is this the best location? Any location outside your webroot is fine. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] linux php editor

2005-06-06 Thread JB05UK
Clive Zagno wrote: > what I really want is a app that can do that predictive text thing, you > know when it start showing me the possible php syntax as Im typing it > in. Two reasons for this is it help with debugging as I get the syntax > correct the first time and secondly I think its cool.

[PHP] Re: headers and session (2)

2005-06-06 Thread JB05UK
Ahhh, for storing session passwords...if you really need to store a password in the session then try using md5, like so... $psw = md5($_POST['txtPassword']); Then to verify a users password just do the same and compare to the stored md5 value in your database. But, its a very bad idea stori

Re: [PHP] PHP and Zend

2005-06-06 Thread JB05UK
Ok thanks Richard Lynch wrote: On Sun, June 5, 2005 12:08 am, JamesBenson said: This program makes use of the Zend Scripting Language Engine: Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies with Zend Extension Manager v1.0.7, Copyright (c) 2003-2005, by Zend Technologies with Z

[PHP] Re: headers and session

2005-06-06 Thread JB05UK
You have two calls to header? The first should be changed to:- session_cache_limiter('private'); http://php.net/manual/en/function.session-cache-limiter.php Alessandro Rosa wrote: Hi to all, I got a problem while storing session variables. After the call to header(...), the values of

[PHP] Re: Can't Get PHP to work

2005-06-02 Thread JB05UK
You need to insert these two lines to your Apache httpd.conf configuration file to set up the PHP module for Apache 2.0: Example 6-6. PHP and Apache 2.0 as Module # For PHP 5 do something like this: LoadModule php5_module "c:/php/php5apache2.dll" AddType application/x-httpd-php .php # config

[PHP] Re: php forum and (almost certainly 0T) client editor

2005-06-02 Thread JB05UK
Hello, I can answer your second question... Frames can be used to achieve the effect of two seperate windows, one can refresh while the other stays as-is. For a client editor... Some javascript to add tags on the client side would be fairly simple to create, just create some custom tags for d

[PHP] Re: what is -- $this variable -> $this other variable -- means?

2005-06-02 Thread JB05UK
http://php.net/manual/en/language.oop.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: What Works Works Validator

2005-06-02 Thread JB05UK
A small example, using the code below all older browser who cant understand CSS will ignore it because its within a comment block... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php