This might help as well: http://www.php.net/manual/en/installation.php
Jordan S. Jones
Mrs. Geeta Thanu wrote:
Hi all,
I want to install apache and php in a redhat box version 8 and want apache
to load php. So how i shld proceed. Just downloading the rpms of both
and installing will help or I h
Hi,
Defaults installations of RH 8 usually have both apache and php. You can
upgrade by
rpm -Uvh rpmname.rpm
but what you should really be doing is heading off to php.net and
reading their installation guide. and googling for php newby articles.
Mrs. Geeta Thanu wrote:
Hi all,
I want to i
Hi all,
I want to install apache and php in a redhat box version 8 and want apache
to load php. So how i shld proceed. Just downloading the rpms of both
and installing will help or I have to down load the source and compile it.
Pls help
Thank u
Geetha
--
PHP General Mailing List (http://www.php
> [1] http://us2.php.net/manual/en/control-structures.do.while.php
>
Thanks! Didn't see that page.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Wed, 2004-02-04 at 00:32, John Taylor-Johnston wrote:
> I cannot declare $temp = $mydata->district; outside while ($mydata so ... ?
> I'm missing something in my logic. That's why I asked.
> It wouldn't make sense to declare this twice:
> while ($mydata = mysql_fetch_object($myquery))
You could
Just my two cents :)
$temp = "";
echo "\n";
while ($mydata = mysql_fetch_object($myquery)) {
if ($temp != $mydata->district) {
$temp = $mydata->district;
echo "$mydata->district\n";
}
echo "$mydata->city
$mydata->place
$mydata->meetingtime\n";
}
echo "\n"
Jason,
> You're tired so you want others to do your work?
No ...
> Maintain a 'flag' which stores 'previous' value of $mydata-district. If 'flag'
> and $mydata-district differ print $mydata-district and update 'flag'.
I cannot declare $temp = $mydata->district; outside while ($mydata so ... ?
I
On 02/02/2004 06:18 PM, Federico Petronio wrote:
Hi all... I have a chrooted Apache/PHP on Solaris 8 working fine except
for one PHP function, mail(). I read that in Unix environments there is
not possible to make PHP use a remote SMTP and it needs to find a
sendmail executable un the path.
Sin
Pooya Eslami wrote:
I need to know what is the most secure and reliable way to put
permissions
on a .php file.
I usually put it as rw-r-r, is this good or is there a better way of
arranging the permissions?
Depends on your environment. I usually have mine set up as rw-rw
(directories as rwxr
On Wednesday 04 February 2004 12:56, John Taylor-Johnston wrote:
Please use a meaningful subject.
> I need to refine this. I'm tired ... long day.
You're tired so you want others to do your work?
> I would like to echo $mydata->district only once unless it changes.
Maintain a 'flag' which stor
Found this too:
You are not authorised to enter the site
\n";
exit;
} else {
if (!($conn=ora_logon("[EMAIL PROTECTED]",$PHP_AUTH_PW))) {
Header("WWW-authenticate: basic realm=\"$SID\"");
Header("HTTP/1
if($PHP_AUTH_USER != "user1") || ($PHP_AUTH_PW != "password")
... or somehting like that. I can't find it in the manual, but it is there someplace.
Adam Williams wrote:
> Hi, is there a PHP function or some sort of way to have a user enter their
> username and password in a form, and compare the
rw-r-r should do it. Permissions really only become an issue using Perl. PHP is very
accomodating that way.
Pooya Eslami wrote:
> I need to know what is the most secure and reliable way to put permissions
> on a .php file.
> I usually put it as rw-r-r, is this good or is there a better way of
>
Hi,
I need to refine this. I'm tired ... long day.
I would like to echo $mydata->district only once unless it changes.
echo "\n";
while ($mydata = mysql_fetch_object($glquery))
{
#- if $mydata->district is different, then
echo "$mydata->district\n";
echo "$mydata->city
$mydata->plac
> > I need to know what is the most secure and reliable way to put
permissions
> > on a .php file.
> > I usually put it as rw-r-r, is this good or is there a better way of
> > arranging the permissions?
> >
>
> Depends on your environment. I usually have mine set up as rw-rw
> (directories a
> Hi Russell,
>
> If you're documenting PHP software, you might consider using
> phpDocumentor. Your manual would be in DocBook, and phpDocumentor
> would both transform to HTML/PDF/CHM, and link to the auto-parsed API
> docs straight from the source. Kind of handy for people who'd rather
> cod
Pooya Eslami wrote:
I need to know what is the most secure and reliable way to put permissions
on a .php file.
I usually put it as rw-r-r, is this good or is there a better way of
arranging the permissions?
Depends on your environment. I usually have mine set up as rw-rw
(directories as rwxr
Hi Russell,
If you're documenting PHP software, you might consider using
phpDocumentor. Your manual would be in DocBook, and phpDocumentor would
both transform to HTML/PDF/CHM, and link to the auto-parsed API docs
straight from the source. Kind of handy for people who'd rather code
than figu
I need to know what is the most secure and reliable way to put permissions
on a .php file.
I usually put it as rw-r-r, is this good or is there a better way of
arranging the permissions?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Ray,
I can create the XML of the document that I want to generate using the built
in XML functions in PHP.
THe thing I then want to do is be able to do is then use that XML to create
documents in multiple formats, e.g. PDF.
I think that I can use DocBook or Apache FO to do this, but I am not sur
I'm having some problems with the DB::isError function identifying a
non-object as an error object (or so it seems). I'm using postgreSQL
7.3.x. The relevant code is below:
/***[ my code start ]***/
$sql_queries = array();
I and another person am now maintaining Turck MMCache, another release
will be made shortly but until then the current release should work fine.
There is also a web based encoder for Turck MMCache at
http://phpcoder.sourceforge.net
The great thing about MMCache is it is open source and usually
Hi,
I myself had reserverations about moving to a FreeBSD host, but have had an
excellient experience
with the guys at www.hub.org. Quick support, access to my httpd.conf and
php.ini files, ssh and a
whole lot more. Both the guys there who i have spoken too are real cool too
(chris and marc) and ha
I've moved sites between 3 or 4 different hosting providers until I found
one that didn't sell out the week after we signed up, and was actually fast
enough along with decent tech support. Never had any troubles with PHP as
long as the version was somewhat similar. Started with Sun Solaris, we
Hi, is there a PHP function or some sort of way to have a user enter their
username and password in a form, and compare the username and password and
see if the username exists and the password is correct?
basically I want to have a page where a person enters their username and
password and if
replacement is evaluated... therefore:
function check_this_out($arg) {
return "$arg";
}
$myString = 'hello';
$pattern = '/(.*)/e';
$replacement = "check_this_out('\\1' . ' $myString')";
echo preg_replace($pattern, $replacement, 'test says:');
[EMAIL PROTECTED] wrote:
Thank you very much Joch
Daryl Meese wrote:
Hello all,
I am considering changing hosting providers and moving from FreeBSD to
Linux.
My question is are there any PHP related issues to moving (functions that
don't work on Linux but do on FreeBSD, etc)?
I doubt there are but have to cover the bases.
Nope, no issues that I'
[snip]
This is where the var's $list and $additional_letters are filled. The
file
is called hangman.php. I want to open this file, put the words into a
html
file so that someone can change them and write them back. That's it.
[/snip]
is it out of the question to store the values in ther own separa
Hello all,
I am considering changing hosting providers and moving from FreeBSD to
Linux.
My question is are there any PHP related issues to moving (functions that
don't work on Linux but do on FreeBSD, etc)?
I doubt there are but have to cover the bases.
Also, if you got any suggestions for hos
Rob wrote:
Ive programmed with C/C++ for years and have recently started to dabble in
PHP. Ive written a multi-part script for a friend and Ive run into a
problem.
Ive got 14 include files 3 of which are basic components that may or may not
be used by other components. One is an authorisation clas
Guys, guys,
No quarrel please! The website of mr. Wong works fine. The first time it
take a long time to open and I falsly thought the site didn't work. But on
the other site i know what html is and no the list i want has nothing to do
with html!
The code I use is not mine, it is a hangman game w
Ive programmed with C/C++ for years and have recently started to dabble in
PHP. Ive written a multi-part script for a friend and Ive run into a
problem.
Ive got 14 include files 3 of which are basic components that may or may not
be used by other components. One is an authorisation class, another
I'm working with another (very unusual) webserver on our intranet. When I
wanted to do graphs recently I settled on an XML output from my other
server, and a PHP routine on apache that produces the graph.
The other server references the PHP which outputs a .png sending enough
information to that
Thank you very much Jochem and John. It works like a charm now, and I
was beginning to grow weary after experimenting with result sets for
almost 10 hours now.
How would you - by the way - concatenate text to the replacement
string?
;-Pete
On Tue, 3 Feb 2004 14:15:00 -0500, [EMAIL PROTECTED] (Jo
I had exactly the same problem some time ago... My solution was very
similiar of what you are trying to do, but my "internal" format is not
XML but a group of arrays (faster processing). Then using some OOP I
created the diferent "output formats" for my reports, therefore I have a
microsoft e
A LOT of this is pure speculation though, which is why I sent the one I
did. Since with it he can patch whatever data he gets from $line into
his code wherever he needs it, whether he flat file is pure text or some
HTML or if the output is going to be a drop-down list (nl2br wouldn't
work in this
On Tue, 2004-02-03 at 13:50, Russell Seymour wrote:
> In the beginning only one output format was required, HTML and then PDF was
> a requirement. More and more formats are now required by my users and
> rather than create a new output script for each different format I am
> thinking about outputt
John W. Holmes wrote:
From: "John Nichel" <[EMAIL PROTECTED]>
If all the OP wants to do is echo out the file, then why not just use
the file() function. Then each line is loaded up into an array element,
and you've saved yourself a bit of cpu. And your example above
doesn't address the OP's cl
Good evening list,
I apologise profusely if after reading anyone thinks that is OT, but I
relally need some pointers with a project I am working on. I have searched
the Internet for information on XML document generation but there is too
much information that I cannot decide which way to go. Tha
From: "John Nichel" <[EMAIL PROTECTED]>
> If all the OP wants to do is echo out the file, then why not just use
> the file() function. Then each line is loaded up into an array element,
> and you've saved yourself a bit of cpu. And your example above
> doesn't address the OP's claim that it is
Robert Sossomon wrote:
There was a wong answer and then there is the right answer:
$fp = fopen($file,"r");
while (!feof($fp))
{
$line = fgets($fp, 4096); //gets one line at a time
echo $line; // Or whatever else you want to do
}
fclose($fp);
HTH.
Robert
If all the OP wants to do
On Wednesday 04 February 2004 03:26, Robert Sossomon wrote:
> There was a wong answer
I assume that was a weak attempt at a cheap joke, or else you couldn't spell,
or you need a new keyboard, or something.
> and then there is the right answer:
Whether that is the right answer depends on why th
Thanks.,
alex
> -Original Message-
> From: John W. Holmes [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, February 03, 2004 1:27 PM
> To: Alex Hogan; PHP General list
> Subject: Re: [PHP] Printer Friendly pages
>
> From: "Alex Hogan" <[EMAIL PROTECTED]>
>
> > I have a printer friendly pa
On Tue, 2004-02-03 at 11:05, Brian Dunning wrote:
> I have an application where I want users to only be allowed 5 searches
> per day unless they create an account.
>
> There may not be a simple answer to this, but in general, would it be
> preferred to do this with 24-hour session variables, or
There was a wong answer and then there is the right answer:
$fp = fopen($file,"r");
while (!feof($fp))
{
$line = fgets($fp, 4096); //gets one line at a time
echo $line; // Or whatever else you want to do
}
fclose($fp);
HTH.
Robert
--
PHP General Mailing List (http://www.php.n
From: "Alex Hogan" <[EMAIL PROTECTED]>
> I have a printer friendly page and I want to get rid of the referring url
at
> the bottom of the page. How can I do this? I can't seem to find any
> reference to this in the archives.
This is controlled by the browser; there's no way for PHP to change it
I think what you're talking about is a function of the explorer browser.
The user would have to remove it him/herself.
- jon
-Original Message-
From: Alex Hogan [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 03, 2004 8:12 AM
To: PHP General list
Subject: [PHP] Printer Friendly
From: "Jochem Maas" <[EMAIL PROTECTED]>
> alternatively (actually this looks like the easier way to do it!) use
> preg_replace(), with the 'e' modifier tagged onto the end of the
> replacement expression: the 'e' modifier causes the expression to be
> evaluated as PHP.
>
> http://nl2.php.net/manua
Matt Matijevich wrote:
Take a look at the manual for sessions
session_start() has to be the first thing called
It doesn't have to be the first thing called. It only has to be called
BEFORE any output is sent to the browser IF you are using cookie based.
--
By-Tor.com
It's all about the Rush
ht
On Tue, 2004-02-03 at 12:46, Pablo Gosse wrote:
> However when I call the following file under either domain:
>
> echo get_include_path();
> ?>
>
> I get this:
>
> .:/usr/local/lib/php
Are you sure you have the correct Options set for the directories that
those files are under? Try setting:
A
Pablo Gosse wrote:
Hi folks. I have two virtual servers running under Apache. I want each
to have a different include_path so I've set the following in each conf
file:
For Domain 1:
php_value include_path ".:/u0/vservers/domain1.mydomain.ca/html"
For Domain 2
php_value include_path ".:/
http://www.w3.org/TR/html4/loose.dtd";>
Untitled Document
Take a look at the manual for sessions
session_start() has to be the first thing called
http://www.w3.org/TR/html4/loose.dtd";>
Untitled Document
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, vi
On Tue, 2004-02-03 at 13:44, Rolf van de Krol wrote:
> I tried to start a session by this code:
> "http://www.w3.org/TR/html4/loose.dtd";>
>
>
> Untitled Document
>
>
>
>
> echo(session_id());
> ?>
>
>
The session_start() function call needs to be at the top of the page,
before you send
Nico Berg wrote:
He, Jason thank's.
BTW, the site www.gremlins.biz doesn't work, maybe learn something about
webdeamons before making websites...
His site works for me. Maybe you shouloh, nevermind.
Gr, Nico
PS wrong guess!
If you were a bit more clear about your issue, and if you post
Hi all,
I tried to start a session by this code:
http://www.w3.org/TR/html4/loose.dtd";>
Untitled Document
When I execute it I got the following error:
Warning: session_start(): Cannot send session cookie - headers already sent
by (output started at e:\rolf\sites\thinkquest\sessiontest.p
Have you tried to check if PHP has been compiled with mcrypt?
try this on a page
Look for mcrypt directives, if not there you need to download it and
compile it like so.
http://mcrypt.sourceforge.net
Get both the libmcrypt and mcrypt compressed archives
from command prompt on linux...
cd /path/
My lord, this rocks!
Our pages load at least twice as fast now, and bandwidth will likely be
reduced by at least a factor of 2.
I would strongly recommend utilizing zlib compression functions to anyone
looking to speed page delivery & reduce bandwidth!
--Noah
"Rush" <[EMAIL PROTECTED]> wrote
Hey all.
No such luck re: just using ini_set() to compress pages
Rush's link is HIGHLY useful -- thanks Rush!
http://www.phpbuilder.com/columns/argerich20010125.php3?page=2
Works without a hitch in IE 5+ and NN 4.7+ with PHP 4.2.3
--Noah
"Ammar Ibrahim" <[EMAIL PROTECTED]> wrote in m
Francesco,
mcrypt_ functions rely on a PHP extension, your syntax look ok, PHP is
telling you that it could not load the required extension (module).
the following page from the PHP manual tells more about what you need in
order to use mcrypt_ functions:
http://nl2.php.net/manual/en/ref.mcrypt
Hi folks. I have two virtual servers running under Apache. I want each
to have a different include_path so I've set the following in each conf
file:
For Domain 1:
php_value include_path ".:/u0/vservers/domain1.mydomain.ca/html"
For Domain 2
php_value include_path ".:/u0/vservers/ domai
The problem is that i'm using a windows for that,
the anomizer i use to connect to different proxys
waits on 127.0.0.1/localhost, so i can't redirect
the whole outbound traffic on port 80 for that
Hi,
There is a topic called transparent proxying. Don't have any links in my
bookmarks but if you v
Pete,
you can probably do what you want with preg_replace_callback:
http://nl2.php.net/manual/en/function.preg-replace-callback.php
only the function call will be set up slightly differently; namely you
don't pass the callback reference directly, instead the callback
function that is called re
Hi there,
I have serious probems resolving regular expressions. I wish to
replace a substring with a given pattern with results of a function
with a backreference used as argument.
SAMPLE:
function check_this_out($somevalue)
{
$url_array = '';
$i=0;
$query = "SELECT SomeRow FROM SomeTable W
Hi,
There is a topic called transparent proxying. Don't have any links in my
bookmarks but if you visit either the squid proxy websites or the
iptables website you will find it. (this is usually done with this
combination but can be done with other proxy/firewall combos as well).
Basically wha
"Angelo Zanetti" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi,
>
> is there ever a certain situation where you would have something at the
top
> of your page before session_start();? If so why would it be before
> session_start();?
I have a situation where I'm saving an object
hi,
Theoretically possible but practically very difficult. The telnet
protocol is a lot more complex than it looks at first glance. Even to
login you need to do a lot of negotiation.
Dev wrote:
Hello all,
I currently have a generic socket daemon running and doing what it
should but I am wond
Hi,
i'm looking for a method to setup php to use
a proxy for all http/ftp connections.
i know it's possible to write a script
that can do this, but i need to setup php
itself for that (php.ini or something like this)
i tried different tools for that to tunnel all
connection but i didn't found any
Hi,
By sessions i assume you mean cookies (session information can be stored
in other places such as a mysql database). If you do store the
information in a cookie, your visitors can easily delete the cooky and
get past your protection mechanism.
Having said that opting for a mysql table that
Hi all,
i've problem with mcrypt_cfb function.
This is the code:
$string = "A simple text string";
$key = "My key";
line 55: $encrypted = mcrypt_cfb(MCRYPT_IDEA, $key, $string, MCRYPT_ENCRYPT);
$key = "My key";
line 59: $string = mcrypt_cfb(MCRYPT_IDEA, $key, $encrypted, MCRYPT_DECRYPT);
I've
I really have to stop replying to myself :) Anyway i think that i have
the solution...
function timestamp2YearWeek ($time) {
if (date('z', $time) > 360 && date('W', $time) == 1) {
return sprintf('%d%02d', date('Y', $time)+1, date('W', $time));
}else{
return sprintf('%d%02d
On Wednesday 04 February 2004 00:05, Brian Dunning wrote:
> I have an application where I want users to only be allowed 5 searches
> per day unless they create an account.
Unless you require that a user logs in before they can perform a search then
there is no meaningful way to track how many sea
On Wednesday 04 February 2004 00:16, William Bailey wrote:
> Ok. Its been a long day and my brain is starting to shut down so...
>
> How would i work out which year the 'W' relates to?
>
> I have a unix timestamp value and want to end up with the correct 'YW'
> value.
Would it have anything to do
On Wednesday 04 February 2004 00:09, Chris Bruce wrote:
> I have modified your line { $email_list .= "'{$row['email']}',"; },
> with { $email_list .= str_replace("'", "\'", "'{$r[email]}',"); }, but
> now it escapes all the single quotes. Is there a php function that
> escapes single quotes in Mys
From: Chris Bruce
> Is there a php function that escapes single quotes
> in Mysql queries?
addslashes()
mysql_escape_string()
mysql_real_escape_string()
---John Holmes...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Ok. Its been a long day and my brain is starting to shut down so...
How would i work out which year the 'W' relates to?
I have a unix timestamp value and want to end up with the correct 'YW'
value.
William Bailey wrote:
Hi Mike,
Because week 1 is defined as the first week with four or more
Here are some for you to try:
www.sourceguardian.com
www.zend.com
www.ioncube.com
There is also one within mmCache
(http://turck-mmcache.sourceforge.net/). Just read the forum about the
current status of this open source project as the founder has gone to
work for Zend and will no longer be main
HI John,
I have this working with the exception of when there is a ' in an email
address that I want to remove.
I have modified your line { $email_list .= "'{$row['email']}',"; },
with { $email_list .= str_replace("'", "\'", "'{$r[email]}',"); }, but
now it escapes all the single quotes. Is th
Hi All,
I have a printer friendly page and I want to get rid of the referring url at
the bottom of the page. How can I do this? I can't seem to find any
reference to this in the archives.
alex hogan
**
The conten
I have an application where I want users to only be allowed 5 searches
per day unless they create an account.
There may not be a simple answer to this, but in general, would it be
preferred to do this with 24-hour session variables, or by writing a
MySQL record for each visitor with the date an
Hi Mike,
Because week 1 is defined as the first week with four or more days in
the new year. Therefore, working backwards, the 29th-31st are also in
week 1 in 2004.
Thanks, So now i will just have to check the year and then work out from
that what the correct year should be. (i need to get a Y
PETCOL typed this on 02/02/2004 03:47 PM:
I think I'm having a "Bad Hair Day"
I have a table in my database with all my thumbnail filenames in it.
My query pull that out, now I want to display the images in a table, I can
get it to go down the page row by row, but I want it to say do five columns
Hi,
I am working in a project for a customer of my company, I am using PHP and I
want to prevent my customer from touching my code.
The problem that I have to install the application in the customer computer.
So, I am looking for a way to encrypt my PHP code.
I heard that there is a way but I
From: "Angelo Zanetti" <[EMAIL PROTECTED]>
> is there ever a certain situation where you would have something at the
top
> of your page before session_start();? If so why would it be before
> session_start();?
Sure, there could be. It just wouldn't be able to output anything unless you
were using
William Bailey wrote:
Hi all,
Can somebody please explain this for me...
[EMAIL PROTECTED]:/usr/home/wb [11]-> php
$time = strtotime('now -5 weeks');
printf("\n\n%s is in week %d of the year %d\n\n", date('Y-m-d', $time),
date('W', $time), date('Y', $time));
?>
^D
2003-12-30 is in week 1 o
Hello all,
I currently have a generic socket daemon running and doing what it should
but I am wondering if there is a way to have a php script act as a telnet
daemon?
Thanks to you all in advance!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub
On Tuesday 03 February 2004 22:50, Nico Berg wrote:
> BTW, the site www.gremlins.biz doesn't work, maybe learn something about
> webdeamons before making websites...
Works for me ... maybe you have the wrong browser.
> PS wrong guess!
Well, I'm no mind-reader. If you're not going to post an
He, Jason thank's.
BTW, the site www.gremlins.biz doesn't work, maybe learn something about
webdeamons before making websites...
Gr, Nico
PS wrong guess!
> -Oorspronkelijk bericht-
> Van: Jason Wong [mailto:[EMAIL PROTECTED]
> Verzonden: dinsdag 3 februari 2004 15:16
> Aan: [EMAIL P
Hi all,
Can somebody please explain this for me...
[EMAIL PROTECTED]:/usr/home/wb [11]-> php
$time = strtotime('now -5 weeks');
printf("\n\n%s is in week %d of the year %d\n\n", date('Y-m-d', $time),
date('W', $time), date('Y', $time));
?>
^D
2003-12-30 is in week 1 of the year 2003
[EMAIL P
php-general Digest 3 Feb 2004 14:16:27 - Issue 2568
Topics (messages 176645 through 176677):
Re: auto forms from mysql database
176645 by: Justin Patrin
Question about dates
176646 by: Renan G. Galang
176647 by: John Nichel
176650 by: John W. Holmes
Re: [Sta
On Tuesday 03 February 2004 21:26, Nico Berg wrote:
> fread gives back "FIRST SECOND AND THIRD FOURTH"
How did you ascertain that?
> How can i get the list as is?
Taking a wild guess I would say you need to familiarise yourself with HTML
before using PHP. In the meantime you could have a look a
Hi there
I'm having a bit of trouble with executing system commands. My script reads as follows.
The problem is that when I run this script the page does not load and apache crashes.
Does anyone know a way around this problem??
Thanks
try removing curly braces as follows:
$query = mysql_query("UPDATE stories SET status='approved' WHERE
story_id={$id}");
|
|
|
\/
$query = mysql_query("UPDATE stories SET status='approved' WHERE
story_id=$id");
or
$query = mysql_query("UPDATE stories SET status='approved' WHERE
story_
"Ammar Ibrahim" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> if this works for you, could you please post your story in the group. this
> is very interesting if you could save 50% of your bandwidth just by
turning
> the zlib flag :)
if you check amount of data that gets transfered
Hi all,
I have a list of words (sense):
FIRST
SECOND
AND THIRD
FOURTH
etc
fread gives back "FIRST SECOND AND THIRD FOURTH"
How can i get the list as is?
Nico
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello Angelo,
On 3 Feb 2004 at 9:36, Angelo Zanetti wrote:
> is there ever a certain situation where you would have something at the top
> of your page before session_start();? If so why would it be before
> session_start();?
The closest thing to a "certain situation" that I can think of is when
I am just starting in php
(but 10 years experience in developping, last 5 years in JAVA).
I have installed on a Windows 2000 PC:
Apache 2.0 as localhost-server, MySQL 4.0.17 and PHP 4.3.4-Win32.
All parts seem to work properly.
My first steps into php also looked quite well.
Next level: sending HTM
The argument to mysql_affected_rows must be mysql CONNECTION identifier
(from mysql_connect), not RESULT identifier (from mysql_query). Removing
the argument will work for you.
Mr. Austin wrote:
Hi all:
I am trying to get this to work, but always get the same error: that the resource in mysql_
Use mysql's Date Functions. works like magic :)
Good Luck,
Ammar
"Merlin" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi there,
>
> I am trying to add one month to a given date. Somehow I am lost
> inbetween mktime, date and unix timestamps ;-(
>
> Can anybody give me a hint on
if this works for you, could you please post your story in the group. this
is very interesting if you could save 50% of your bandwidth just by turning
the zlib flag :)
good Luck,
Ammar
"Cf High" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hey all.
>
> Having a good problem -
Hi all
just a note that the problem was with the php 4.3.2 version finally and
nothing to do with permissions.
So if anyonwe has a similar problem, install a different version (the 4.3.4
is working fine here)
Mario
- Original Message -
From: "Mario" <[EMAIL PROTECTED]>
To: <[EMAIL PROTE
1 - 100 of 105 matches
Mail list logo