hy using the Switch it always execute the first
case ?
Many thanks
Omar
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Is there any reason to pick a black background en white fonts in your
editor (for example writability)?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://ww
Is there a way to copy a file from 1 server to a different one?
I have this code in a win 2k server, and i try to copy the file to a win NT
server:
if (is_file($file_att))
if (copy($file_att,'\servername\folder\'.$file_name))
echo "succesful";
else
echo "failure";
It gives me this war
Hello.
I have a sql server named CLUSTER01 (on win 2k servers, iis, etc), i try to
connect to it :
$db_conn = mssql_connect("CLUSTER01", $db_usuario, $db_password);
and it gives me this message:
Warning: 0 is not a MS SQL link index in x
The user name and password are correctly created in the log
Hello everyone.
In this line
preg_match("/[^a-z0-9'\?!-]", $item)
i can´t find de way to add vowels with accent (á,é,í,ó,ú,ñ,Ñ) and other
characters to the preg_match function.
Can anyone help me?
The documentation of this function is not very clear (or complete) to me.
Thank you.
--
PHP Gener
I have a sql query, something like
SELECT x FROM server1.table WHERE x IN (SELECT x FROM server2.table)
I get a warning when loading the page. This is the warning:
Warning: MS SQL message: Heterogeneous queries require the ANSI_NULLS and
ANSI_WARNINGS options to be set for the connection. This ens
I have this login page, if the login is correct, i create 3 cookies:
- user = $login
- password = $pass
- seepage = 1
on the other pages, i placed a condition:
if $seepage != 1
go to login page
else
show page
It works fine to some people (works fine for me), but there are other people
who
> http://www.mysql.com/doc/en/JOIN.html
>
>
> --- Osman Omar <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > How do I query to get data from 5 tables with same
> > id. (id=1).
> >
> > eg,
> >
> > table1
> > id data
> >
Hi,
How do I query to get data from 5 tables with same id. (id=1).
eg,
table1
id data
1 blue
2 green
table2
id data
1 yellow
3 green
table3
id data
1 black
4 white
etc.
thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.
I have an include line in all the php files i write
something like --> include('connection.inc');
The include path is d:\includes. (win nt 4, php 3.0.11) It worked fine
before but today failed to open the include file.
Does anyone has a clue about what could cause this problem?
Thank you.
--
PH
Check out your while
{
} <--- i don´t see a closing one
echo ("$meetingName ");
try:
echo ''.$meetingName.'';
<[EMAIL PROTECTED]> escribió en el mensaje
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hmm, I am still getting a parse error on the last line of code...
In a message dated 12/16/200
$sql = "SELECT .";
$sql_e = mysql_query($sql);
while ($result = mysql_fetch_array($query_e)) {
.
}
You were missing the mysql_query
<[EMAIL PROTECTED]> escribió en el mensaje
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I am trying to display a column from my database as a list. Each
I updated php from version 3 to 4.2.3 on a win NT 4 server (with iss 4).
Everything went ok, but the include() function.
I have problems when including files.
I tried to specify a directory in the php.ini file but it still didn't work.
This is how i have the include line:
include ('file.inc');
I c
Visit
http://javascript.internet.com/user-details/resolution-page.html
it'll be helpful.
"Stephen" <[EMAIL PROTECTED]> escribió en el mensaje
000e01c270a9$08ba5b90$0200a8c0@melchior">news:000e01c270a9$08ba5b90$0200a8c0@melchior...
Hello,
I forget exactly how to do this so I'm turning to you all
Hi. I run php in win2k server, IIS and MS SQL Server 2k.
I've created some data bases and tables. On the beginning, sending a php
form (through the intranet) was quick. Now, it spends 32 seconds (sometimes
less) to send a form.
I've tried on a empty data base but it's still slow. I don´t have a cl
I have a file. I'll paste from line 32 to 34
I get the next warning:
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result
resource in /home/olimpiad/public_html/base/alta1.php on line 34
I'm running the script on a linux server.
could someone help me.
Thank you.
--
PHP
Hi
I try to compile php and got error message
any idea?
system:
Redhat 7.2
Apache 2.0.39 (for redhat 7.0 from apache website)
php 4.2.2
error messages
---
/bin/sh /usr/tmp/php-4.2.2/libtool --silent --mode=compile gcc -I.
-I/usr/tmp/php-4.2.2/sapi/apache2filter -I/usr/tmp/php-4
When I use addslashes to add a back slash to a single quote, it returns 3
back slashes (example: 'it\\\'s'. Is that correct? Am I doing something
wrong?
Thank you
Omar Campos Galán
Desarrollo de Formas Electrónicas
CompuSoluciones
Tel. (0133) 3818-1554 Fax (
May i change this ?
ScriptAlias /php/ "C:/WINNT/system32/inetsrv/php/"
AddType application/x-httpd-php .php .php3 .phtml
Action application/x-httpd-php "/php/php.exe"
by this other?
ScriptAlias /php/ "C:/WINNT/system32/inetsrv/php/sapi"
AddType application/x-httpd-php .php .php3 .pht
MY PROBLEMS IS. THAT I DON'T KNOW HOW TO CONFIGURE MY APACHE SERVER TO USE
MY C:\Inetpub\wwwroot\SITES I HAVE THERE
THAT'S MY PROBLEM.
THANKS FOR YOUR COLABORATION.
YOIS
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, July 19, 2001 7:32 AM
Subject:
Hi agin
I have APCHE SERVER Installed in my Machine.
And i have Win2k pro installed.
And as you see i want to use.
So i having troubles to configure the WEB server.
If somebody knows how to do it, please it would help me much.
Thanks
Yassel (Cybername=YOIS)
Hi agin
I have APCHE SERVER Installed in my Machine.
And i have Win2k pro installed.
And as you sww i want to use.
So i having troubles to configure the WEB server.
If somebody knows how to do it, please it would help me much.
Thanks
Yassel (Cybername=YOIS)
Put the same text
inside php
example
" the next code
- Original Message -
From: "Petr Jůza" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 17, 2001 2:47 PM
Subject: [PHP] displaying icons
> Hi everybody!
> Please, have somebody any experience with displaying icons (
Hi friends
thanks averybodoy for help me
i used the solition of "Jason Bell" [EMAIL PROTECTED]
thanks Jason
with this
> try this:
>
> mysql_connect("YOUR_DB_HOST","DB_USERNAME","DB_PASSWORD");
> mysql_select_db("DB");
> $query = "select * from info where FirstName='$FirstName' and
> LastName='
Hey guys
here is my code
4: mysql_connect() or die ("Problemas conectandose a la base de datos");
5: $query="select * from info where FirstName='$FirstName' and
6: LastName='$LastName' and email='$email'";
7: $result = mysql_db_query("users", $query);
*8: $r=mysql_fetch_array($result); *
Hi again
Here is the part of before code
8:$result = mysql_db_query("users", $query);
9:$r=mysql_fetch_array($result);
10: $count=$r["count"];
And the error message is
Warning: Supplied argument is not a valid MySQL result resource in
c:\inetpub\wwwroot\PhpAndMysqlTest\test2\reg1.php3 on lin
Hi
I'm having
trouble with this part of code
9: $result = mysql_db_query("users", $query);
10: $r=mysql_fetch_array($result);
The error message is :
Warning: Supplied argument is not a valid MySQL result resource in
c:\inetpub\wwwroot\PhpAndMysqlTest\test2\reg1.php3 on line 9.
Please if some
when i upload a file, the form method must be POST because when GET is used,
it adds backslashes to the windows path name that already has backslashes,
and this causes an error. for instance, the following snippet of code --
if ($add){
$newimage = "whatever.gif";
copy($image, $directory.
28 matches
Mail list logo