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
?php
// Quote variable to make safe
function quote_smart($value)
{
// Stripslashes
if (get_magic_quotes_gpc()) {
$value =
Try placing the following into a .php file,
?php
// Connecting, selecting database
// enter below your database host, user and pass
$link = mysql_connect('mysql_host', 'mysql_user', 'mysql_password')
or die('Could not connect: ' . mysql_error());
echo 'Connected successfully';
//
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
Chris W. Parker wrote:
JamesBenson mailto:[EMAIL PROTECTED]
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,
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
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
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.
?php
session_start();
header( Cache-control:
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
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
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.
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
A small example, using the code below all older browser who cant
understand CSS will ignore it because its within a comment block...
style type=text/css
!--
@import url(MyStyleSheet.css);
--
/style
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
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
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
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
#
15 matches
Mail list logo