At 22:23 26/4/2001 -0400, Joao Prado Maia wrote:
>Actually the correct sequence is \r\n on Windows platforms. Just a small
>note.
Yeah! You're right. I made a typo here:-)
Nice to know I'm not alone. See you at php-pt;-)
[]'s
Alex
--
PHP General Mailing List (http://www.php.net/)
To unsubsc
just point your browser to phpbuilder.net. Alternatively, just send me an email =)
Date: Wed, 25 Apr 2001 19:02:12 -0700 (PDT)
From: John Monfort <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Subject: PHP
manesh,
its in your php.ini file under error handling and logging...
seek and ye shall find...
-jack
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL
Hi all
I tried to make a login function for my site using script below, but after I type user
name and password, it asked me to type again and again and simply reject it, although
I have made sure that the username and password I used to test is in the table for
sure. No database connection pro
SELECT
SUM(quantity)*SUM(total) As mySUM
FROM
table
WHERE
...
Sincerely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where PHP Begins)
[EMAIL PROTECTED]
www.phpbeginner.com
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECT
I think PEAR has it.
have you tried to look at it?
Sincerely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where PHP Begins)
[EMAIL PROTECTED]
www.phpbeginner.com
-Original Message-
From: Carsten Gehling [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 27, 2001 5
it just as same as doing a query:
$db->connect();
$db->query("ALTER TABLE table CHANGE field field ~ATTRIBUTES~");
well, that was with a DB abstraction layer.
just use what you usually use to query your Db having your ALTER TABLE in
the mysql_query. (no need to show the results up)
Sincerely
yeah.. the loop.
see php.net/arrays
most of the coolest array functions were introduced in PHP4
if you are trying to make a dynamic portable application you might want to
look into phpversion();
this will tell you which version it runs, and based on that will select the
best way to find the re
I cannot find any documentation on mkstemp() . Can somebody point me in the
right place?
thanks
randy
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [E
I had what I thought was a great idea in creating a downloadable phone
directory using PHP to connect to the LDAP server and gather the info for
output. I originally wanted to have it create a PDF document, and still
would, but I don't think that you can create multiple page documents with
PHP and
no, sockets are not a bad solution at all. They are just as fast.
And plus fsockopen has more functionality such as timing out, result
messages, mess_num etc... what fopen doesn't have.
I think fsockopen is better for this job.
Sincerely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginne
STRIPSLASHES();
use single quotes for the array.
add the slashes in front each JS's single quote,
when echoing use :
echo stripslashes($js);
Sincerely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where PHP Begins)
[EMAIL PROTECTED]
www.phpbeginner.com
-Original
it should.
if(is_array($x[0]))
$count = count($x[0]);
else
$count = 'not an array';
Sincerely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where PHP Begins)
[EMAIL PROTECTED]
www.phpbeginner.com
-Original Message-
From: Chris Anderson [mailto:[E
I think the question should be what's wrong with
Windows? :)
Sorry, I can't give you more of an intelligent answer
Steve
On Thu, 26 Apr 2001, Mig wrote:
> Hello, I can't understand the reason apache server running locally on my
> Win98 machine delays so much to respond browser when accesi
Hi all,
If I make a whole website based on one PHP-navigation file with links like
"index.php?id=123", will all the search engines who crawl the websites be
able to follow it and index?
Regards,
Sumarlidi Einar Dadason
SED - Graphic Design
--
Phone:
some do, not sure which do and don't these days though. for related
information, check out this tutorial :
Building Dynamic Pages With Search Engines in Mind :
http://phpbuilder.com/columns/tim2526.php3
regards,
philip
On Fri, 27
I'm trying to get a webmail client to work under RH 7.1 with Apache 1.3.19.
I downloaded php-4.0.4pl and configured and installed it. Now when I try to
bring up a php page it trys to download it instead of execute. I added the
"AddType" line for php4 in my httpd.conf but it made no difference.
"SED" <[EMAIL PROTECTED]> wrote:
> If I make a whole website based on one PHP-navigation file with links like
> "index.php?id=123", will all the search engines who crawl the websites be
> able to follow it and index?
A lot of them won't index pages with query strings (the part after the "?").
I p
"Maxim Maletsky" <[EMAIL PROTECTED]> wrote:
> SELECT
> SUM(quantity)*SUM(total) As mySUM
> FROM
> table
> WHERE
Technically, this is correct based on what the original poster (below)
stated he wanted, but that's not really what he wanted since there's no real
world reason to calculate what he sta
[root@blackwidow logs]# gdb /usr/local/apache/bin/httpd
GNU gdb 19991004
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to s
Hello,
Is there any way I can send two forms at one time? What I want to do is to
have two forms with different method (GET and POST), and then send them at
one time, so that in the next page I get both $HTTP_POST_VARS and
$HTTP_GET_VARS. To illustrate this:
Hello,
I just learn PHP for a month now. It's hard for me
since I have no background in programming (I do HTML
but this is totally different).
Last few days I try to make a simple script so
visitors can search my site. I use a MySQL database
here and there are some tables to handle my other PHP
w
i try to use Semaphore and Shared Memory ...
but all... trying is failed @,@
please send some good example
about using Semaphore and Shared Memory
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTEC
On Fri, 27 Apr 2001 14:27, waro wrote:
> Hello,
>
> I just learn PHP for a month now. It's hard for me
> since I have no background in programming (I do HTML
> but this is totally different).
> Last few days I try to make a simple script so
> visitors can search my site. I use a MySQL database
> h
Your httpd.conf configuration should look something like this:
AddType application/x-httpd-php .php .phtml .php3 .php4
AddType application/x-httpd-php-source .phps
-Original Message-
From: j2n tech [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 26, 2001 8:42 PM
To: [EMAIL PROTECTED]
Su
Hi, I have a problem,
that when I get a parse error it always says that it's on line 1 in
this or that file.
Where is the configuration option to set this right?
I have on another server seen that it's possible to get it to state
the actual error line.
(it's PHP Version 3.0.15 on solaris)
Plea
Is anybody knows how can I redirect to another page
and the REFERER to another page to be my page ?
Thanks,
Rosen Marinov
""Rosen"" <[EMAIL PROTECTED]> wrote in message
9c912a$had$[EMAIL PROTECTED]">news:9c912a$had$[EMAIL PROTECTED]...
> Hi,
> I have BIG problem using "HTTP_REFERER".
> I have t
From: "Maxim Maletsky" <[EMAIL PROTECTED]>
Sent: Friday, April 27, 2001 5:00 AM
> I think PEAR has it.
>
> have you tried to look at it?
Found it, thanks!
It contains HCE_MD5, but AFAICT it does not utilize the other encryption
modes found in mcrypt. But it doesn't matter - I think this is fin
you need to use the addslashes() command which will escape the quote mark
for you, so something like
$query="insert into trivia (trivia) values ('" . addslashes($line) . "')";
however, you will find that on a machine which is configured with
magic_quotes_gpc turned on, you will end up with somet
Hi All,
I created a table using the create command.
create table trivia
(
entry_id integer not null auto_increment,
trivia text null
);
Now I have a fle tvia.txt, the content of which are as follows:
The average person's left hand does 56% of the typing.
The longest one-syllable wo
http://www.php.net/addslashes
-jack
Subodh Gupta wrote:
>
> Hi All,
>
> I created a table using the create command.
>
> create table trivia
> (
> entry_id integer not null auto_increment,
> trivia text null
> );
>
> Now I have a fle tvia.txt, the content of which are as follows:
Manesh wrote:
>
> Warning: Undefined variable
>
> How do i get rid of this???
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
where is that?
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Jack
Dempsey
Sent: Thursday, April 26, 2001 10:38 PM
To: Manesh
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: [PHP] What is this??
Manesh wrote:
>
> Warning: Undefined variable
>
>
You want to find the Error :
Modify the error reporting section of you php.ini.
You may combine different error settings with the symbols "~"
(not) , "|" (or), and "&". to control the final error reporting level.
As an example, the default setting "E_ALL & ~E_NOTICE" means "report
all errors
Have a look at this post :
http://marc.theaimsgroup.com/?m=98571030029538
regards,
philip
On Thu, 26 Apr 2001, Manesh wrote:
> Warning: Undefined variable
>
>
> How do i get rid of this???
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTE
Warning: Undefined variable
How do i get rid of this???
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
Thanks
Ajdin
On Thu, 26 Apr 2001, PHPBeginner.com wrote:
> try
>
> $newvar = ${$var1};
>
>
>
> Sincerely,
>
> Maxim Maletsky
> Founder, Chief Developer
>
> PHPBeginner.com (Where PHP Begins)
> [EMAIL PROTECTED]
> www.phpbeginner.com
>
>
>
>
> -Original Message-
> From: A
John,
If you are using PHP from Windows you can use ODBC or the mssql_functions.
>From Linux/Unix, you should compile the iODBC Driver Manager into your
PHP/Apache build, and then drop in an ODBC driver.
There is a HOWTO at www.iodbc.org on compiling PHP with iODBC.
Best regards,
Andrew
--
I've got two functions that return data in an array. I need to compare the
individual elements of one array against the elements of another, and do
something within an if-else statement.
I'm using php3, so I don't have an actual "foreach" loop to pick out the
array elements. Instead, I use:
whil
Did I hear anyone say "SSL?"
Curtis
On Thu, 26 Apr 2001, Alex Piaz wrote:
> Hi All!
>
> It's my first post:-)
>
> I am working on a php web application that has to interchange encrypted
> data to a VB windows standalone exe. Does anybody know the best way to do it??
>
> I am making some tests
Hi All!
It's my first post:-)
I am working on a php web application that has to interchange encrypted
data to a VB windows standalone exe. Does anybody know the best way to do it??
I am making some tests with mcrypt_module using the BLOWFISH algorithm. On
the web enviromment I can encrypt and
Hi,
First of all, I've just joined this list, so here's a brief
introduction. My name's Jamie Saunders, I'm an 18 year old student from
the UK studying for my A-Levels. I'm currently working on a Computer
Studies project for a local business which involves setting up several
databases on th
I've got some code that I am
creating that creates a table with
a loop. and it works fine for what
it is, but my question is how do I
compensate for rows that aren't divisible
by 5 ? i.e. the empty cells at the table.
additionally if it ends on a complete row
(divisible by 5) I end up with an add
Hi,
check you've got a D/B connection, then use this, with the appropriate names
in the variables, or use the explicit table names if you wish. If an error
spews up, most likely the table name your trying to rename it to already
exists.
$sql = "RENAME TABLE $present_table_name TO $new_table_name
Hi!
can you tell me how can I check if a remote files exists?
I've tried with fopen, but I've a warning on STDOUT if file doesn't exists.
I wouldn't redirect the STDERR to solve this problem.
I could use fsockopen, but I feel that this is a bad solution.
Can you tell me something that is easy?
101 - 145 of 145 matches
Mail list logo