i got the answer:
Here's the code
http://www.this-is-some-page.com/";;
$myarray = array ("Link 1" => "link1url", "Link 2" => "link2url", "Link 3"
=> "link3url");
foreach ($myarray as $linkname => $linkurl)
{
#echo "linkname = $linknamelinkurl = $linkurl\n";
echo "[
Hi,
My name is Costin. I don not know ifi this is teh right place for my
question, but hope there's someone there to help me, even so.
I want to click on a file, be it a GIF or an EXE or whatever, and want the
browser to ask me to Open it or Save it to disk, like it says to unknown
extensions, i
If you have more details...
I have the same pb, and check php.ini for the line doc_root.. which is
empty..
and i have still the http error 500
...
thanks for any new idea... !
pam
<[EMAIL PROTECTED]> a écrit dans le message news:
[EMAIL PROTECTED]
> It happened to me as well.
>
> I fixed it l
Thanks everyone. I've just finished a looot of playing and I managed to
do it eventually. I did a very long-winded way using both the stripslashes
and urlencode functions and stored the data in the table as a url encoded
piece of text and decode them whenever the need to be read now. The pr
function quote($var)
{
if (is_string($var))
{
if (strlen($var)>0)
{
$var="'" . str_replace("\'","\\'",$var) . "'";
}
else
{
$var="NULL";
}
Ross,
A better way to validate your form is to use javascript on the client side, once the
form is validated (using the clients computer power) you can then send the data to a
php script via get or post, and have it processed further.
V
-Original Message-
From: Ross Fleming [mailto:[E
Good Afternoon,
This is the first time I've had to use exec() in a site I've
written in PHP and I'm having a little trouble getting the syntax right
to do what I need. This is on a W2K Server box with PHP 4.04, IIS 5.0
and MySQL 3.23.
I need to execute a command as if I was in a cmd.exe
It's hard to judge on a better way based only on this information - it
depends on! Basically your design seams to be sound.
However a good design is left to be defined by the developer him self, and
it is controlled by the requirements specification for the intended system.
To answer that questio
Right, after a bit of experimentation I believe the problem is that I'm
putting it through a form more than once. Basically I have an html form
which which posts to a php file for verification which will then post the
same data (through invisible fields) to another php file that inserts the
data
Why did God create some people without brains? (See below)
-Original Message-
From: System Administrator
Sent: Monday, October 15, 2001 7:44 PM
To: Ron Woods
Subject:Undeliverable: RE: [PHP-WIN] Inserting symbols into a mysql
database from PHP
Your message did not reach
Why doesn't the URL encoding work?
>-Original Message-
>From: Ross Fleming [mailto:[EMAIL PROTECTED]]
>Sent: Monday, October 15, 2001 7:14 PM
>To: [EMAIL PROTECTED]
>Subject: [PHP-WIN] Inserting symbols into a mysql database from PHP
>
>
>Hi all,
>
>My problem is that that I have a form t
Hi all,
My problem is that that I have a form that takes user data and inserts it
into a database. How can I allow quote marks to be inserted into the
database? ie if someone puts a " mark in the form field then php/mysql
recognises that as the end of the data I'm trying to insert. I tried
url
I have found the following in the MySQl web site
Error: "Fatal error: Call to unsupported or undefined function
mysql_connect() in .." This means that your PHP version isn't compiled with
MySQL support. You can either compile a dynamic MySQL module and load it
into PHP or recompile PHP with built
You could use Perl or PHP to read the Apache log file to generate stats from
that. It's not too difficult. You just need to parse the log file and
count how many times a certain page appears in it. Haven't looked but I'm
sure there will be loads of scripts out there that will do it for you
Hav
>>I am having troubles connecting and a couple of errors also.
>>Could somebody please point me in the right direction?
>>Thanks in advance
// login to the database
mysql_host = www.site.net;
mysql_user = username;
mysql_pass = password;
$mylink = mysql_connect('mysql_host', 'mysql_user
Is there a way to specify more than one smtp server for resilience in the
PHP.INI file?
Or will I just have to use ini_set() in code?
Alternatively - is there any way to specify your mail domain as a host and
have it lookup a host via the mx record - thereby enabling it to use
fallback servers sp
"bob",
"oupation"=> "superhero","age"=> 30),
array("name"=> "sir",
"oupation"=>"sup","age"=> 66),
array("name"=> "sir",
"oupation"=>"sup","age"=> 76));
$first=array("name"=> "Desire",
"oupation"=> "sko
php-windows Digest 15 Oct 2001 13:36:29 - Issue 806
Topics (messages 9844 through 9851):
authorization system
9844 by: jax.woh.rr.com
Re: PHP inder Windows XP
9845 by: Nick Ooka
9849 by: Jan Peter Sigmond
Re: HTTP_SERVER_VARS
9846 by: Oronzo \(detto Enzo\)
I have successfully installed php4 on windows all works fine.
I have been using this version and uploading the results to a (pre
installed) unix server with php3 installed.
But the time has come to upgrade the server with the PHP4 etc
So for testing purposes a test server was installed with
Feeding the function with the proper arguments will
allow one to make things (almost) behave in the way
one would like to predict them. However trying to relay
on special features found in one API is just asking
for trouble when migrating them to another API.
Assuming php just wraps C's fopen(),
yeah i did
i already solved the problem...
it was a config problem.
cya Jan Peter
(Netherlands)
"Nick Ooka" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I'm not too sure, but did you edit your "httpd.conf" file
> to allow the use of PHP with Apache?
>
> ni
Can anyone advice me any to realize a directory authentication with
Apache/php4.0.6/MySQL ?
I mean that Apache must to use MySQL database for authentication..
plz :)
i have made an 'access.php' that contains:
---
function deny() {
header("WWW-Authenticate: Basic realm=\
We've a need to provide page stats so we can see what pages people are
visiting.
It is the case that every page in our web will need to be a PHP page then?
I'm not keen to do this just for page stats as it will mean additional
processing overhead but is that my only option?
I'm running PHP4.0.6
You can control if this variable are impostate with script in your server
root
if result the execution this file have the system variable in the file it is
impostate else you control the php.ini if impostete on ON the relative
variable
"Steen rabøl" <[EMAIL PROTECTED]> ha scritto nel messaggi
24 matches
Mail list logo