On Saturday 13 July 2002 14:51, Alex Shi wrote:
> > the mysql list). Put simply, you can specify which port you want MySQL to
> > use. However if the ISP only allows certain ports, eg SMTP, HTTP, _and_
> > you're already using those ports, then you're stuck up a creek.
> >
> > Of course you can a
$substring = substr($localip,0,9);
if ($substring == '192.168.0')
{
// you're in
}
On Sat, 13 Jul 2002, Liam MacKenzie wrote:
> If I enter 192.168.0.13 (My IP) it works, I'm allowed in and any other IP
> isn't.
> However, I need to grant access to this whole network, not just me. So
> > > the mysql list). Put simply, you can specify which port you want MySQL
to
> > > use. However if the ISP only allows certain ports, eg SMTP, HTTP,
_and_
> > > you're already using those ports, then you're stuck up a creek.
> > >
> > > Of course you can always ask your ISP to unblock that port
Oops, wrong variable. That should be:
$substring = substr($REMOTE_ADDR,0,9);
if ($substring == '192.168.0')
{
// you're in
}
Michael
> On Sat, 13 Jul 2002, Liam MacKenzie wrote:
>
> > If I enter 192.168.0.13 (My IP) it works, I'm allowed in and any other IP
> > isn't.
> > Howeve
Hi all,
I have searched the archive for a message subject
something like "PHP Wish List" and was unsuccessful.
I am going to have our new server setup and would like
to know which features should be enabled - I know a
few that I will need, but what features should i get
now that I will be reques
On Saturday 13 July 2002 16:15, olinux wrote:
> I have searched the archive for a message subject
> something like "PHP Wish List" and was unsuccessful.
I doubt whether someone else's wishlist is of much use to _you_. Their needs
are most likely different to yours.
> I am going to have our new
Hello all. Hope you are doing well.
I would like some guidance here, meat of problem is in all caps:
tblContacts -basic contact information on companies/non-government
organizations/media outlets...
tblCountriesOfOperation (tblContactsID, CountryID) -countries that
tblContacts operate in.
tblI
Hi guys,
To unsubscribe from the list send a mail to
[EMAIL PROTECTED]
Visit http://www.php.net/unsub.php .
Pls. Donot send a mail tp [EMAIL PROTECTED]
Best regards
Balaji
-Original Message-
From: gys [mailto:[EMAIL PROTECTED]]
Sent: Saturday, July 13, 2002 5:03 PM
To: [EMAIL PRO
i'm new and i'm trouble with this code :'( can U help me please ??
this is the code :
while ($cd_tbl = mysql_fetch_array ($result))
{
$cd_id = $cd_tbl['cd_id'];
$cd_oeuvre = $cd_tbl['cd_oeuvre'];
$cd_chef = $cd_tbl['cd_chef'];
$cd_compositeur = $cd_tbl['cd_compositeur'];
<---par
Hi everybody,
I am just trying to find out how some db errors happened during a user was
browsing my web app.
This is out of the Apache log:
GET /subapp_profiles/act_upload_image.php HTTP/1.1" 200 160
POST /subapp_profiles/act_upload_image.php HTTP/1.1" 302 5
I do not have a clue where this GE
Hi Everyone.
Yup.. another dummy who can't suss out php.
I'm running win2000 server and have installed php (by the book), also have mysql
running.
Can seem to get php recognised though?
Check out http://www.geeing.com/source/chapter01/
Says can't find page.. but is defo there.
I can run thi
ðÒÉ×ÅÔ!
Nicolas GUILLOU wrote:
You may either write:
> echo "$cd_id";
or
> echo "size=1>$cd_compositeur";
ðÏËÁ
áÌØÂÅÒÔÏ
ëÉÅ×
@-_=}{=_-@-_=}{=_-@-_=}{=_-@-_=}{=_-@-_=}{=_-@-_=}{=_-@-_=}{=_-@
LoRd, CaN yOu HeAr Me, LiKe I'm HeArInG yOu?
lOrD i'M sHiNiNg...
YoU kNoW I AlMoSt LoSt My MiNd, BuT
OK
For one you don't have an index.php file.
I can't see the others coz you have pwd protected everything.
What exactly is the error ???
"George Ewing" <[EMAIL PROTECTED]> wrote in message
000c01c22a64$b3c14840$6401a8c0@pavilion">news:000c01c22a64$b3c14840$6401a8c0@pavilion...
Hi Everyone.
I am experimenting with using an XML file as a
database. One of the things I do is provide
a way of adding records to the database by an
html form.
This seems to work out well so far unless one
of the fields in a record contains an html
reference. The result is a Sablotron parse error.
What is t
Hi,
after my systemtools update to autoconf 2.52, automake 1.6.2, libtool
1.4.2, bison 1.35
php (cvs tree) configure failed with this strange message:
---
checking for Apache 2.0 module support via DSO through APXS...
./configure: line 3848: syntax error near unexpected token
`PHP_AP_EXTRACT_
As a general rule of thumb you should ALWAYS validate the information posted
as a form before sending it on to whatever backend you are using.
=C=
*
* Cal Evans
* The Virtual CIO
* http://www.calevans.com
*
-Original Message-
From: William S. [mailto:[EMAIL PROTECTED]]
Sent: Saturday,
I dont know what causus it, but I have a kind of a solution for your
problem...
you probably have something like $_GET["myvar"] in your query, try to do
something like this :
$_VARS="_$REQUEST_METHOD";
$_VARS=$$_VARS;
And then instead of using the _GET, you use the _VARS...
"Andy" <[EMAIL PROT
can you not open the file in binary mode and then transfer it as you would
with ASCII?
"Kevin Stone" <[EMAIL PROTECTED]> wrote in message
070301c229d5$42420130$6501a8c0@kevin">news:070301c229d5$42420130$6501a8c0@kevin...
> Okay enough answering questions this week, now I have a question to ask.
> This is out of the Apache log:
>
> GET /subapp_profiles/act_upload_image.php HTTP/1.1" 200 160
> POST /subapp_profiles/act_upload_image.php HTTP/1.1" 302 5
>
> I do not have a clue where this GET request could come from. This has
caused
> a empty sql statement and therefore a db error. How can c
> Exactly.. that IS the problem.
> You see, my mySQL DB on the Server/Internet, on my
> website.. it DOES NOT allow Remote Host Connection.
> That's why i need to use a PHP page, that too based on
> the server. Because i need to move tabel data on my
> Client/My Computer to the Tables on my Websit
> echo "$cd_id";
Strings work differently when the outer quotes are double or single quotes.
Inside double quotes variables will be converted into their values. Inside
single they will not.
So:
$var = 'Hello World';
echo "$var\n";
will result in
Hello World
and:
$var = 'Hello World';
echo '$va
Hi all,
I can manage this script to work.
Js warn about listid[], he doesnt like [] in a var name !
Php needs them to collect an array from form checkboxes.
Here is my source :
Title here!