> I am using php_flag session.auto_start 0 in an .htaccess file to stop
> sessions from auto starting. It works on all but the one below, it
still
> auto starts. The session replaces linked style sheets on the page
> through some links. Can anyone see the problems?
>
> session_start();
> if ( is
. is a string concatenation operator.
' or " are strings.
Read http://www.php.net/manual/en/language.operators.string.php
By the way, __LINE__ is available in addition to __FILE__.
Hope that helps,
Jason k Larson
Stephen Ford wrote:
Partial success. The code and output are shown below. There ar
Hello,
I'm working on a form that will submit multiple lines of data to a database.
The form's style is that of an order form, where there are lines for each
item available, and a single submit button at the foot of the page.
For example:
===
Item Quantity
-
I need a better understanding of when garbage collection is initiated under
PHP's default session handling. It is not clear to me if the gc_probability
is based on:
- each *request* to the server, or,
- each time a *new session file is created*, or,
- each time a request causes a *session file to
Nope. It's 41 (I don't use Emacs)
At 15:30 27.02.2003, Larry Brown spoke out and said:
[snip]
>Oops...I stand corrected.
>
>Larry S. Brown
>Dimension Networks, Inc.
>(727) 723-8388
>
>-Original Message-
>From: Matt Giddings [mailto:[EMAIL PROTECTED]
At 13:28 27.02.2003, Dennis Heuer spoke out and said:
[snip]
>One single question. Is including() a script on runtime only possible with
>files or can I include() code from a database?
[snip]
If you have code in your
Was 4.2.3 really the last release for sparc/alpha/power platforms? There
was an ftp site in France that had a set of patches to get 4.3.x working on
64-bit chips, but that it has been offline for days at least. I didn't see
anything in CVS that indicated any attempt at 64-bit cleanliness was in
can anyone give me some good advise on how abouts I should go about
maintaining a newspaper website.
here is what is currently in place and how i want it to be managed
right now the newspapers are published in a quark file from that file
pictures have to be placed in photoshop and resized , crope
Partial success. The code and output are shown below. There are no errors.
What does the ".' '." do pls. Have tried a variety of combinations to see
the effect. Nothing to see... :-(
===PHP==
Line #1 ".' '.$_SERVER['PHP_SELF'], "";
echo "Line #2";
echo "Line #3";
echo "Line #4 ".'
> I'm looking for a webbased interface that will allow me to managae mysql
> databases. However, phpmyadmin has been ruled out due to the fact it
> requires the username and password to be stored in the config file
No it doesn't.
> and that it doesn't have any security to protect the average joe
It's not working either ...
Rick
Off Price Closeouts
1700 W 8 Ave
Miami, FL 33010
(305) 888 2555
FAX (305) 884 1761
-Mensaje original-
De: Jason k Larson [mailto:[EMAIL PROTECTED]
Enviado el: Wednesday, February 26, 2003 5:59 PM
Para: Ricardo Fitzgerald
CC: [EMAIL PROTECTED]
Asunto: Re
Hi,
I have an array with an html link as key and different $vars as val:
$list = array (
'http://someplace.com/";>some place' => $vendor1_total,
'http://anotherplace.com/";>another place' => $vendor2__total,
[snip] etc..
some vals are numeric and some vals are "n/a"
asort works to sort the arra
On Thu, Feb 27, 2003 at 05:51:01PM +0200, M.ALPER KARASAHIN wrote:
>
> Hi,
>
> How can i display a blob column that contins a "MS word" object.
> OR
> How can i display a blob column that contins a bitmap object.
>
>function foo()
>{
> $this->statement = OCIParse($this->db_con_id,
PHP does not support threading. Depending on what you're trying to do you
may find the process control functions useful
http://www.php.net/manual/en/ref.pcntl.php
Justin Garrett
"C. F. Scheidecker Antunes" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hello all,
>
> I have a few
Hi, All,
I would be very appreciated if you could help me to find information about
formating excel cells (like merge cells, Autofit columns, etc.). I am using
excel from php like com object.
Thanks in advance.
gytis
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: htt
I'm looking for a webbased interface that will allow me to managae mysql
databases. However, phpmyadmin has been ruled out due to the fact it
requires the username and password to be stored in the config file and
that it doesn't have any security to protect the average joe from
stumbling across it.
hi, all,
does anybody know:
how to merge excel cells from php code?
how to make excel columns "autofited" from php code?
where to find the information about all of this kind tricks?
appreciated for any useful answer.
gytis
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visi
Hi!
"Rasmus Lerdorf" <[EMAIL PROTECTED]> escribió en el mensaje
news:[EMAIL PROTECTED]
> On Tue, 18 Feb 2003, Greg Donald wrote:
> > On Tue, 18 Feb 2003, Bruce Miller wrote:
> >
> > >Will PHP allow multiple-thread execution?
> >
> > PHP4 does not have thread support.
>
> Well, except for pear/PECL
Hi all...
I keep getting this error in trying to view a snippet code from the
www.phpbuilder.com site:
The XML page cannot be displayed
Cannot view XML input using style sheet. Please correct the error and then
click the Refresh button, or try again later.
--
The 'magic constant' __FILE__ is one way.
or even better:
HTH,
Jason k Larson
Stephen Ford wrote:
How can I display the script file name? Presumably something like-:
While I'm learning php and developing various Web page versions, I want to
be sure the that the display is from the appropriat
Hi,
How can i display a blob column that contins a "MS word" object.
OR
How can i display a blob column that contins a bitmap object.
function foo()
{
$this->statement = OCIParse($this->db_con_id,
"SELECT blobcolumn
FROM XX ");
if (!$this->statement) {
Thanks
I'll post back with results.
Stephen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
yes you can connect to the server from your PHP script and send a post
request .. here is a function that would help:
--- PHP --
function http_post($server, $port, $url, $vars) {
// example:
// http_post(
// "www.fat.com",
// 80,
// "/weightloss.pl",
// array("name" =
> How can I display the script file name? Presumably something like-:
>
> echo $ScriptFileName;
> ?>
>
> While I'm learning php and developing various Web page versions, I want to
> be sure the that the display is from the appropriate script.
>
> Regards
> Stephen Ford, Surrey, UK
Try any of thes
Hello all,
I have a few scripts writen and I wonder if PHP does support threads
like a Java Program.
What I mean is, with Java I can have multiple threads of tasks running
at the same time and
I would like to know if I could accomplish the same with PHP although
the books I have and the
docume
Hi there,
I recently discovered the reason why the traffic is rising so high on my
server. Some people are "stealing" bandwidth. They include
the link of an image into a forum posting. Now everytime somebody reads this
threat on the other site this image is
served by my server!! No one cares about
php-general Digest 27 Feb 2003 15:24:05 - Issue 1908
Topics (messages 137335 through 137399):
mysqldump
137335 by: John Taylor-Johnston
137336 by: Joseph Szobody
137337 by: Joseph Szobody
137355 by: John Taylor-Johnston
137370 by: Sunfire
13737
echo $_SERVER['PHP_SELF'];
"Stephen Ford" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> How can I display the script file name? Presumably something like-:
>
> echo $ScriptFileName;
> ?>
>
> While I'm learning php and developing various Web page versions, I want to
> be sure the
How can I display the script file name? Presumably something like-:
While I'm learning php and developing various Web page versions, I want to
be sure the that the display is from the appropriate script.
Regards
Stephen Ford, Surrey, UK
--
PHP General Mailing List (http://www.php.net/)
To
I am sending an xml request as part of the url using urlencode to encode my
xml. It doesnt work like that so the server that is receiving it doesnt
seem to like the data in the query string.
However, if I send it from a form using the method post then it works fine.
Is there a way to send it by me
yes (as has been said); the code in the included file adopts 'the scope in
the place at the point of the include statement'. Hence if you were to put
the the include statement in a function the vars in the included file would
have the scope of that function; included outside a function they'll have
>while (!feof ($handle)) ;
Take that semi-colon away. You're running this loop continously.
---John Holmes...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi Chris,
You should delete the ; after the while statement because it causes an
infinite loop.
- Original Message -
From: "Chris Blake" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, February 27, 2003 16:29
Subject: [PHP] Reading files
> Greetings...
>
> When t
Oops...I stand corrected.
Larry S. Brown
Dimension Networks, Inc.
(727) 723-8388
-Original Message-
From: Matt Giddings [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 27, 2003 12:26 AM
To: 'Larry Brown'; 'PHP List'
Subject: RE: [PHP] Emacs?
Don't you mean 42?
> -Original Message
Make sure whatever user the _web server_ is running as has access to write
to that directory.
With IIS, this is the IUSR_ account.
> $AppImageDir = Web/Images";
You've got a error in that line, also, hopefully it's just a typo, though.
---John Holmes...
- Original Message -
From: "Nikl
Greetings...
When the following runs..
===
'. $buffer. '';
}
fclose($handle);
?>
.it gives out
==
"Sunfire" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> just a fast question here.. and the lotic probably isnt to bright on my
part
> and i think i know the answer to this question too but just to make
sure...
> if you can include variables in an include file and use them outside t
I'll Try that instead :)
Thnx!
Rick
Off Price Closeouts
1700 W 8 Ave
Miami, FL 33010
(305) 888 2555
FAX (305) 884 1761
-Mensaje original-
De: Jason k Larson [mailto:[EMAIL PROTECTED]
Enviado el: Wednesday, February 26, 2003 5:59 PM
Para: Ricardo Fitzgerald
CC: [EMAIL PROTECTED]
Asunto:
On linux you can do it in shell with chmod command. Do 'chmod 766 direcory'.
You can find out more about chmod-command at
http://www.die.net/doc/linux/man/man1/chmod.1.html.
Niklas
-Original Message-
From: Frans Bakker [mailto:[EMAIL PROTECTED]
Sent: 27. helmikuuta 2003 16:03
To: [EMAI
All right then. ¿Where do I set that permission for PHP? On my local Windows
machine it is usually in IIS. However the whole ..\inetpub\wwwroot\..
directory already has read and write permissions. Apart from PHP I use Cold
Fusion. With Cold Fusion I don't have any permission problems...
"Niklas la
Seems that php does not have write access to that directory. Set it right
and it should work.
Niklas
P.S. Tip: It's much quicker to create plain html without echo. Just do it
like
, not like
"; ?> :)
-Original Message-
From: Frans Bakker [mailto:[EMAIL PROTECTED]
Sent: 27. helmikuuta
> just a fast question here.. and the lotic probably isnt to bright on my
part
> and i think i know the answer to this question too but just to make
sure...
> if you can include variables in an include file and use them outside that
> file (in the file that includes that file that is) then can you
Hello everybody,
I am relatively new to PHP and for quite some days I am trying to get a file
upload system going through a standard html form. To test it I use an html
page called Test2.php with a form in it with
enctype=\"multipart/form-data\". Here is the source code:
Web site - pages form
what software are you using ???
--
Alejandro Trujillo J.
Cube Systems LTDA.
web : csltda.com
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
haha, okay, I see now. your message was attached to a text file. thanks.
warm regards,
Sebastian - [BBR] Gaming Clan
http://www.broadbandreports.com
- Original Message -
From: "David T-G" <[EMAIL PROTECTED]>
To: "PHP General list" <[EMAIL PROTECTED]>
Cc: "Sebastian" <[EMAIL PROTECTED]>
S
Hmm... i cannot see your message,.. see it's blank below ..
Seems to be only happening to your emails.
warm regards,
Sebastian - [BBR] Gaming Clan
http://www.broadbandreports.com
- Original Message -
From: "David T-G" <[EMAIL PROTECTED]>
To: "PHP General list" <[EMAIL PROTECTED]>
Cc: "S
just a fast question here.. and the lotic probably isnt to bright on my part
and i think i know the answer to this question too but just to make sure...
if you can include variables in an include file and use them outside that
file (in the file that includes that file that is) then can you do the s
> I'm running a script that reads the contents of images and stores them
> in a MySQL database. The problem I'm running into is that my server is
> seeing "\" as escape characters and stripping them out. I assume this
> has something to do with "Magic Quotes" or something of that nature but
> I'm
Sebastian --
...and then Sebastian said...
%
% every so often i get a blank email that contains an attachment, a ATTxyz.dat
% and ATTxyz.txt why?
Don't know that for sure, but ...
%
% I just got a reply from David T-G, Thread "Deleting a page after viewing it"
% and its blank with an attachme
Hi All,
I'm running a script that reads the contents of images and stores them
in a MySQL database. The problem I'm running into is that my server is
seeing "\" as escape characters and stripping them out. I assume this
has something to do with "Magic Quotes" or something of that nature but
I
Well, you could use temporary files for this. I've never done this by
myself, but I think it's worth giving a try. :)
Fetch the data from the database, write your code to temporary file and then
include this temporary file. After that you can destroy the temporary file.
Niklas
-Original Me
Hi!
My problem is that if I try to debug my php file , not all the lines seams
to be
debugged cause not all the lines have that blue dot on the left side. Why??
If I try step by step I can see that some lines are skipped and some lines
that actually don't have the code are "executed"
Plz, help
Hello -
One single question. Is including() a script on runtime only possible with files or
can I include() code from a database?
greetings
Dennis
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Tell us what is in the logs, they are in logs\ in the apache
installation directory
Anthony Ritter wrote:
Chris,
The function I'm trying to get...it's:
imagecreate()
I am using MS Win 98 / PHP 4 and Apache.
I tried running the following script but got an undefined call to
imagecreate()
The fol
I want to compile an extension, let's say the zip extension.
So I do the following:
cd /usr/src/php-4.2.3/ext/zip
phpize
Now, I understand that this should result in a shared library being
produced, but I can't find it.
Also, during the phpize process, I get following warnings:
perl: warning: Se
There mey, but need not be a space. As far as I know, the option scanner in
mysqldump ignores spaces between short options and their values.
"John Taylor-Johnston" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Thanks!
>
> > exec("mysqldump -c -q database -u user -ppassword", $sql)
just make a php file with system calls in it to do mysqldump
how secure that is is a different question
- Original Message -
From: "John Taylor-Johnston" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, February 26, 2003 10:43 PM
Subject: [PHP] mysqldump
> Anyone do MySQLD
Hi Bryan,
> > $t = mktime(0,0,0,date('m')+1,1,date('Y'));
> >
> > Gives you timestamp of first day, next month.
> > Format accordingly with date().
>
> is there such a say to now get the date of the first
> weekday after that date?
You can brute force it:
// grab the timestamp
$t = mktime(0,0,
In php.ini i've set
open_basedir = /usr/local/lib/php/:/tmp/
in vhost.conf (VirtualHost include file) i set
php_admin_value open_basedir /web/htdocs/linuxtest4.aruba.it/home/
So if i execute phpinfo i view:
LOCAL MASTER
You can do this in your PHP code by itself, no need to use Apache.
Search for "search engine safe" or "search engine friendly".
Fusebox.org has some default code that does this (follow the links for PHP
fusebox).
HTH,
Peter Janett
New Media One Web Services
New
At the advice of a friendly php-general reader, I tried the following:
RewriteEngine on
Options +FollowSymlinks
RewriteBase/issues/
RewriteCond%{REQUEST_FILENAME} -d
RewriteRule ^(.+)([/]?)$ $1/ [R]
RewriteRule ^([0-9]/[a-z]/[a-z0-9])([/]?)
/index.php?year=$1\&month=$2\&article=$3
And
101 - 161 of 161 matches
Mail list logo