you could use stripslashes or stripcslashes to remove the '\'-s, otherwise i
wouldn't know..
Pag [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hi,
When a user wants to add a comment on my site and uses either or ', and
when it gets printed out, comes out
At 06:22 11.02.2003, Daevid Vincent said:
[snip]
How can I pass in a user/pw to an fopen() (or something similar)?
You don't. fopen() doesn't access the server via HTTP. It's PHP that
executes this call, sitting at the server, using the servers file system
At 07:47 11.02.2003, Lord Loh. said:
[snip]
I am new to regex and broke my head on it the other day...in vain...
Can any one tell me a place to get a step by step tutorial on it or help me
out on how to work it out ?
At 23:28 10-2-2003, you wrote:
G'day all
I've been trying for a day or so to get a script to traverse all the levels
of a directory.
did you see the first user comment on
http://nl.php.net/manual/nl/ref.dir.php ? may help!
With help from list archives and web sites I've come up
with this:
My problem is illistrated by the following test code:
class test {
var $flag = 0;
function getFlag() { return $this-flag; }
var $t;
function Init() {
$c = new test;
$this-t = $c;
$c-flag = 1000;
}
Hello everyone! =)
Can anybody help me with file uploading with PHP???
i tried uploading a file through...
form action=save_upload.php method=post
input type=file name=userfile
input type=submit
/form
but, in save_upload.php, there is no $HTTP_POST_VARS['userfile'], or
You need to check the following variables:
$_FILES[userfile][tmp_name];
$_FILES[userfile][size];
$_FILES[userfile][name];
$_FILES[userfile][type];
Ciao
Francesco
- Original Message -
From: Kenneth Suralta [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, February 11, 2003 10:49 AM
Newbie question:
I try to modify a txt-file but get not writable error.
(just like in http://www.php.net/manual/en/function.fwrite.php )
I've tried to change the chmode but now I need some help.
All info welcome! Thanks in advance!
Paul Dunkel
--
[EMAIL PROTECTED]
--
PHP General Mailing
Good morning,
I have got an anrray:
$access[][id];
$access[][name];
and then I browse a mode dirs and I need to check if md5(directory_name)
exists in access array. I don't want to browse all dirs a list all subdirs
files and chech with access array like this:
// check where login user has
Your way does strike me as a strange way to do things: I would favour many
forms with hidden values myself to but ...
html
headtitletitle/head
body
form action=test2.php method=get
Press the red submit button!br
input type=submit name=red value=Go!P
Press the Blue submit button!br
input
Hi, I want to write a session-class that use MySQL. I have write the
body of the class. The class open and close session, write the data
from session to DB, but the function session_decode() does not want to
decode my data.
Here the session_set_save_handler:
session_set_save_handler(array($hnd,
i'm creating sort of a very simple css-alike-thing for outputting html to
flash actionscript.
the php gets a string ($text) from the database, which look something like:
h1header 1 /h1 etc...
then, from a 'css' file it reads the strings $replace and $replacement
it looks something like:
I have a problem whereby I need to show links based on an ID which is in
a MySQL DB.
So if ID 1 exists I pull an array of links which are defined as
belonging to ID1. This works OK.
How though can I distinguish between ID's which are not in the DB. I
want to display something if there are no links
This one time, at band camp,
Lord Loh. [EMAIL PROTECTED] wrote:
I am trying to make a link collector.
after opening the desired page, I want to get all the hyperlinks on it...
OK, this is quick and nasty, but you can add sanity/error checking etc
as you please, but it shows you the concept..
if there are no rows, the while condition will return false so the while
block will never be executed, try
if(mysql_num_rows($link_result) ){
while($documents = mysql_fetch_array($link_result)) {
print table cellpadding='4'trtd
width='40'img src='../images/adobepdf.gif'
Thanks Marek,
That is the solution I was looking for.
Steve Jackson
Web Developer
Viola Systems Ltd.
http://www.violasystems.com
[EMAIL PROTECTED]
Mobile +358 50 343 5159
-Original Message-
From: Marek Kilimajer [mailto:[EMAIL PROTECTED]]
Sent: 11. helmikuuta 2003 13:39
To:
never mind it
i've solved it trimming the $replace and $replacement before using them in
ereg_replace()
thanks anyway
Michiel Van Heusden [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
i'm creating sort of a very simple css-alike-thing for outputting html to
James wrote:
snip
However I would like refernce semantics and the final output of this script
to be 1000. So I changed the line to $this-t = $c; and suddenly I get
the error: Fatal error: Call to a member function on a non-object in
/user/sh/jmb/Project/Wiki/Public_html/test.php on line 25
From: Jimmy Brake [EMAIL PROTECTED]
I have a file upload page that accepts file uploads from pretty much
every browser and os EXCEPT any browser on mac os 9. I have no idea
why, any of you ever have problems with file uploads on mac os 9? How
did you solve the issue.
I have no problems
Michael Kimsal [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
James wrote:
snip
However I would like refernce semantics and the final output of this
script
to be 1000. So I changed the line to $this-t = $c; and suddenly I
get
the error: Fatal error: Call
On Mon, 10 Feb 2003 16:23:10 -0600, you wrote:
Hi.
Im working with a multidimensional array where the data in the
array is a class (struct). All the information is being stored correctly,
but I need to sort each column (AA0, BA0, etc. see below)
by the fieldNo portion of the struct.
how i do work php with xml?
In php3.ini add extension = php3_xml.dll but not work. is runnig on winnt
workstation
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi folks,
I have an image processing module for converting resizing uploaded
images.
My customer has 1000s of images from various sources, and a
significant percentage are not 100% correct.
At present I am using ImageMagick, but it chokes if the image is in
any way damaged. At present the
OK, I used the php ftp_put function successfully to upload a file. But
this is not what I need. I need to use the ftp_fput function to transfer
from a file pointer. This function failed to transfer the file with
Pureftp server but transfers successfully using Wu-ftp. Any ideas on why
Pureftp is
I don't think PHP checks to see what FTPD your running, it's probably a bug
in PureFTPD as opposed to PHP (since it works in WU).
On Tue, 2003-02-11 at 10:10, Chris Boget wrote:
OK, I used the php ftp_put function successfully to upload a file. But
this is not what I
I have a file upload page that accepts file uploads from pretty much
every browser and os EXCEPT any browser on mac os 9.
[...]
Hi Jimmy,
I routinely use Mac OS 9.x and both Netscape 7 and IE 5.1 to upload files to
sites written in PHP. I also maintain these sites. The only problems I've
no sure if this helps but i had a similar problem with php 4.3 . Afeter
upgrading from 4.2.3 ftp worked fine.
On 11 Feb 2003, Adam Voigt wrote:
I don't think PHP checks to see what FTPD your running, it's probably a
bug
in PureFTPD as opposed to PHP (since it works in WU).
On Tue,
You can try something like this.
$dir = dir;
function dirsize($checkdir) {
$dh = opendir($checkdir);
$size = 0;
while (($file = readdir($dh)) !== false)
if ($file != . and $file != ..) {
$path = $checkdir./.$file;
if (is_dir($path))
Hi-
I'm having a problem with deleting a Cyrus IMAP mailbox. I can create the
mailbox just fine. Any ideas on why I can't delete the mailbox? Here is
some code that I got off this newgroup a few months ago:
function deleteMailbox ($mailbox) {
$existing_boxes =
I've successfully created a search and result page for a dating site which
off of the result page is a detail page for reviewing the profile online and
so forth.
The problem I'm having is once a user does his/her search they may come up
with a number of results which after reviewing one of the
I know of fpdf and am currently using it in one application.
But does anyone know if I can open other pdf files with fpdf and merge
them into one big pdf file like can be done with PDFlib Import? Or; is
there an alternative besides fpdf that does this in php?
TIA
Michael E. Barker
--
PHP
Simple answer is - use GET method instead of POST for your searches
Vernon wrote:
I've successfully created a search and result page for a dating site which
off of the result page is a detail page for reviewing the profile online and
so forth.
The problem I'm having is once a user does his/her
Hello:
I'm looking for an RSA implementation, the ones I have found are
really slow, and I just want to:
generatekey
decrypt
the encryptfunction will be done in javascript, it's for a login system
without SSL.
Regards.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
I am trying to initialize a large array with all values being 0. Ive tried:
$arr = array_fill(0, 99, 0);
and I get this error message:
Fatal error: Call to undefined function: array_fill()
Any information and suggestions will be greatly appreciated.
Thanks.
---
Outgoing mail is
Hello All,
I have a problem. I did this form mail script and it is sending the
email to the poster not the email specified in the $mailto. Can someone
help me. Sorry it will be long, the code that is:
CODE:
?
//File_name = send_form.php//
include header.htm;
include setup.php;
$msg .= Senders
Try array only:
$arr = array(0, 99, 0);
print_r($arr);
HTH
--
Un gran saludo/Big regards...
Arturo Barajas, IT/Systems PPG MX (SJDR)
(427) 271-9918, x448
-Original Message-
From: Erin Fry [mailto:[EMAIL PROTECTED]]
Sent: Martes, 11 de Febrero de 2003 10:47 a.m.
To: [EMAIL
Hello,
Because I am not sure if this is just a PHP issue or a
PHP+DB issue, I will be posting this message
(seperately) to bith the General and PHP-DB lists.
First, a brief rundown of my setup:
Mandrake Linux 9.0
Apache 1.3.27
PHP 4.3.0
We are in the process of rebuilding our outdated
servers,
On Wednesday 12 February 2003 00:46, Erin Fry wrote:
I am trying to initialize a large array with all values being 0. Ive
tried:
$arr = array_fill(0, 99, 0);
and I get this error message:
Fatal error: Call to undefined function: array_fill()
Any information and suggestions will be
When I do that I get syntax errors in the SQL
Marek Kilimajer [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Simple answer is - use GET method instead of POST for your searches
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
--- Marek Kilimajer [EMAIL PROTECTED] wrote:
Simple answer is - use GET method instead of POST for
your searches
--- Vernon [EMAIL PROTECTED] wrote:
When I do that I get syntax errors in the SQL
That obviously has nothing to do with what request method
you are using. You need to give more
Changing the method also implies changing $_POST to $_GET in your code.
Vernon wrote:
When I do that I get syntax errors in the SQL
Marek Kilimajer [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Simple answer is - use GET method instead of POST for your
mail($mailto, $mailsubj, $msg, $mailheader);
- where does $mailto come from?
WAW wrote:
Hello All,
I have a problem. I did this form mail script and it is sending the
email to the poster not the email specified in the $mailto. Can someone
help me. Sorry it will be long, the code that is:
Hi
I have to dates that i want to check who is biggest.
This does not work:
if( $date1 $date2){
How can i check them?
Svein Olai
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
That did it. Thanks (in all the years I have been doing this you think I
would have learned that already)
Marek Kilimajer [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Changing the method also implies changing $_POST to $_GET in your code.
--
PHP General
Hi Fredik,
I have to dates that i want to check who is biggest.
This does not work:
if( $date1 $date2){
How can i check them?
Presumably they're in SQL format, or something similar?
The easiest way is to convert them to unix timestamps (look into the date()
and mktime()
José León Serna wrote:
Hello:
I'm looking for an RSA implementation, the ones I have found are
really slow, and I just want to:
generatekey
decrypt
the encryptfunction will be done in javascript, it's for a login system
without SSL.
Have you considered using on one-way MD5 hash instead?
Hi R'Twick,
--- R'twick Niceorgaw [EMAIL PROTECTED] wrote:
check the register_globals in php.ini file.
In the 'php.ini' file on both servers (the current
working one, and the one I am having problems with),
'register_globals' is 'On'.
Actually, i did compare the two 'php.ini' files line
by
Hi,
I have a page that is intendend to update a table field on DB
i have a drop down menu wich displays all the position fields available on
db and a text area where i will insert the new data.
now the problem:
I'm using the query SELECT * FROM table WHERE position = $position
the $position
Hi Everyone
The webserver is a Unix machine. I don't want to send the email from the
Unix machine, I want to do that from Window. So, if I configure hte php.ini
to find the MS-Exchange on Window and use it to send the email while the
webpage is on the Unix webserver, such as form fill out
make sure that the php3_xml.dll is in your system path and it can be
found.
Ray
On Tue, 2003-02-11 at 07:38, Cavallaro, Vito wrote:
how i do work php with xml?
In php3.ini add extension = php3_xml.dll but not work. is runnig on winnt
workstation
--
PHP General Mailing List
all *.dll are C:\PHP3 but internet explorer make unload the file.xml
-Mensaje original-
De: Ray Hunter [mailto:[EMAIL PROTECTED]]
Enviado el: martes 11 de febrero de 2003 15:06
Para: Cavallaro, Vito
Cc: [EMAIL PROTECTED]
Asunto: Re: [PHP] help me
make sure that the php3_xml.dll is in
The system needs to be able to find the dll so you might need to add
C:\PHP3 to your system path...
On Tue, 2003-02-11 at 11:05, Cavallaro, Vito wrote:
all *.dll are C:\PHP3 but internet explorer make unload the file.xml
-Mensaje original-
De: Ray Hunter [mailto:[EMAIL PROTECTED]]
On Wednesday 12 February 2003 02:12, Scott Fletcher wrote:
The webserver is a Unix machine. I don't want to send the email from the
Unix machine, I want to do that from Window. So, if I configure hte
php.ini to find the MS-Exchange on Window and use it to send the email
while the webpage is
Hello all. I have a customer that purchased on of my scripts and
attempted
to install it on their server. This script, among other things, FTPs a
text file
from a central server. When we tried to run my script, it simply
stops. No
errors, no nothing. I talked to his host and found out that
php-general Digest 11 Feb 2003 18:55:28 - Issue 1877
Topics (messages 135167 through 135223):
Regex Help
135167 by: Lord Loh.
135171 by: Ernest E Vogelsinger
135173 by: Chris Hayes
135183 by: Kevin Waterson
Re: Why use XML?
135168 by: Ilya Nemihin
Can I take the select array
Ex.
$myrow=mysql_fetch_array($result);
and pass this as a form variable to another page?
input type='hidden' name='$myrow' value='$myrow'
Thanks,
Eddie
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
www.php.net/serialize
www.php.net/unserialize
Edward Peloke wrote:
Can I take the select array
Ex.
$myrow=mysql_fetch_array($result);
and pass this as a form variable to another page?
input type='hidden' name='$myrow' value='$myrow'
Thanks,
Eddie
--
The above message is encrypted
On Wednesday 12 February 2003 02:56, Edward Peloke wrote:
Can I take the select array
Ex.
$myrow=mysql_fetch_array($result);
and pass this as a form variable to another page?
input type='hidden' name='$myrow' value='$myrow'
archives passing array
--
Jason Wong - Gremlins Associates -
Someone send me an email to take a look at this
URLhttp://www.php.net/manual/fi/ref.imap.php .
The send mail on Unix is too basic, not like MS-Exchange... I need things
like file attachment, Bcc, cc, etc Also, it is too slow because the
machine have problem with DNS while many Windows
On Wednesday 12 February 2003 02:54, Christopher Ditty wrote:
Hello all. I have a customer that purchased on of my scripts and
attempted
to install it on their server. This script, among other things, FTPs a
text file
from a central server. When we tried to run my script, it simply
stops.
On Tuesday 11 February 2003 02:11 pm, Jason Wong wrote:
On Wednesday 12 February 2003 02:54, Christopher Ditty wrote:
Hello all. I have a customer that purchased on of my scripts and
attempted
to install it on their server. This script, among other things, FTPs a
text file
from a
Unfortunately, I can only get the file via FTP. I just want to know
where this other host got it's information.
Chris
Reuben D. Budiardja [EMAIL PROTECTED] 02/11/03
01:35PM
On Tuesday 11 February 2003 02:11 pm, Jason Wong wrote:
I agree with that. It's only a (potential) problem if you're
On Tuesday 11 February 2003 02:19 pm, Scott Fletcher wrote:
Someone send me an email to take a look at this
URLhttp://www.php.net/manual/fi/ref.imap.php .
The send mail on Unix is too basic, not like MS-Exchange... I need things
like file attachment, Bcc, cc, etc
All of those can
On Wednesday 12 February 2003 03:19, Scott Fletcher wrote:
The send mail on Unix is too basic, not like MS-Exchange... I need things
like file attachment, Bcc, cc, etc
I think you're missing the point somewhere. sendmail (in fact any MTA) will do
all that.
Also, it is too slow
No, nothing is misconfigured on this machine. The problem is the firewall
and the nameserver. So, the easy workaround to it is to use the MS-Exchange
on Window. Sendmail on Unix still doesn't allow me to use more stuffs, so I
had to use MS-Exchange. Sendmail is not the right kind of email
On Tue, 11 Feb 2003, Christopher Ditty wrote:
errors, no nothing. I talked to his host and found out that they do
not allow PHP FTP because it is a security risk. ? U, ok?
I consider FTP a security risk, period. (There /are/ ways to run an FTP
server securely, but I won't assume
I'm completely new to php but am interested in getting things runnng on a
live apache server. The default php.ini file has a huge security
disclaimer at the top stating that the default configuration is not
sufficiently secure for production. It references the php manual chapter
on security for
I am trying to pass 2 variable values(username and userpassword) to a popup
window to display those values when a button is clicked. When the window
pops up, the variable names aren't displayed because they havent been
passed.
Here is the code:
What's the value of $_GET['formuser'] and $_GET['formpassword'] in your
pop up window?
Brad Esclavon wrote:
I am trying to pass 2 variable values(username and userpassword) to a popup
window to display those values when a button is clicked. When the window
pops up, the variable names aren't
What does that string look like when it is outputed? You're asking us to
assume that $formuser and $formpassword are there in the first place.
- Kevin
- Original Message -
From: Brad Esclavon [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, February 11, 2003 1:09 PM
Subject: [PHP]
On Tue, 11 Feb 2003, Chris Wesley wrote:
On Tue, 11 Feb 2003, Christopher Ditty wrote:
errors, no nothing. I talked to his host and found out that they do
not allow PHP FTP because it is a security risk. ? U, ok?
That said ... FTP is a protocol; there's nothing stopping you
Chris, Did you read the rest of the message? It sounds like the web
host is saying that
someone can access PHP FTP from an outside server and hack into the
server.
I am not trying to start a debate on whether or not people should send
passwords and
userids over plain text. Yes, that is a
--- Christopher Ditty [EMAIL PROTECTED] wrote:
This script, among other things, FTPs a text file from a central server.
When we tried to run my script, it simply stops. No errors, no nothing.
I talked to his host and found out that they do not allow PHP FTP because
it is a security risk.
Pretty new to PHP but I've always wanted to make a user tracking system.
I'm trying to grab a number (sessionNum) out of a text file and increment it whenever
someone leaves and comes back to the site.. the problem is the text file appears to be
cached somewhere, the first time someone comes
--- Fireborn Silvaranth [EMAIL PROTECTED] wrote:
I'm trying to grab a number (sessionNum) out of a text file and increment
it whenever someone leaves and comes back to the site.
How about this:
?
session_start();
if (!isset($_SESSION['count']))
{
$_SESSION['count'] = 0;
}
else
{
I can see what you meant about the MIME-encoding and stuffs. This is pretty
cool also.
Reuben D. Budiardja [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
On Tuesday 11 February 2003 02:19 pm, Scott Fletcher wrote:
Someone send me an email to take a look at
Hello!
I am just getting going with OO stuff and I am stumped at how to pull
out query results once it is part of a class. I am also using PEAR. Here
is my code:
class user
{
var $retval;
function get_signin()
{
global $db_obj;
$DateView = date(Y-m-d);
$sql = SELECT
This is with PHP 4.2 and register_globals off.
I am setting cookies and starting a session in the following fashion:
setcookie(EMAILADDR, $row[EMAIL], time()+2592000, '/', .$dn);
where $dn = mydomain.com
I want the cookies accessible sitewide .. at www.mydomain.com, mydomain.com,
$userinfo = new user();
echo $userinfo-get_signin();
It just returns Array? How do I, for lack of a better wordget to
this array? Outside of a class it works great, I echo $rows['sign_in']
and it works. But this! Help!
Many many thanks!
Do this instead:
$userArray =
Please correct me if I am wrong, but it is impossible for a remote machine to
make an ftp connection to local machine running just PHP/Apache/Mysql. The ftp
functions available in PHP enable PHP scripts to act as an FTP client and can
not be used to accept remote FTP connections.
Other functions
Are you on a Windows platform, or *nix. I would assume *nix since you
mentioned chmod.
what did you chmod the file to? who owns the file? and what user does PHP
run as (maybe nobody, or httpd)?
Just to get it to work chmod the file to 777, BUT this is a security risk.
MAKE SURE this file is NOT
big issues!! I'd recommend that you check out the book 'XML and PHP' by
Vikram Vaswani, New Riders. Its well written and concise - should answer
your queries and more.
(BTW, like you I also use Smarty to separate application logic and
presentation; for my purps and circumstances this is
Hello Lindsey,
I am posting this to [EMAIL PROTECTED] for you. The php-dev list is for
the development of PHP itself, not for user questions.
Also, as a guess to your problem, when you include a resource by URL, you are
going to receive the same output that a browser would (when you view
I created a script that sent the contents of the form via the mail(). when
I created it the server was running PHP 4.1.2. The server I am on was
upgraded to ver 4.2.2. When that happend the script stop working correctly.
It appeared to work, but the email never arrived. So, I wrote a simple
I'm running PHP 4.2.2 and I'm having trouble with the printf()
function. I want to be able to print data in space padded fields with
the alpha strings left justified and the numeric strings right
justified. For some reason I can't get printf() to pad with spaces. It
pads with -s and right
Hi,
How does php handle multiple concurrent fopen fwrite fclose calls? I have a
website that gets 7 million page views a month and we have created a custom
log file using fopen fwrite and fclose. When running this concurrently with
the apache log we notice significantly lower page hits with the
- Original Message -
From: Chris Shiflett [EMAIL PROTECTED]
To: Fireborn Silvaranth [EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent: Tuesday, February 11, 2003 1:04 PM
Subject: Re: [PHP] newbie-php user tracker prob
Pretty new to PHP but I've always wanted to make a user tracking system.
I'm
On Tue, 11 Feb 2003, Christopher Ditty wrote:
Chris, Did you read the rest of the message? It sounds like the web
Yes, I read your entire message.
host is saying that
someone can access PHP FTP from an outside server and hack into the
server.
That's precisely NOT what the hosting provider
Can anybody help me with file uploading, again...
I tried uploading a file through...
form enctype=multipart/form-data action=project_save.php method=post
input name=project_file type=file
input type=submit value=ok
/form
but, on project_save.php, the
$HTTP_POST_FILES[project_file][size] is
OK... I have a dynamic menu system, and I have to maintain a dynamic menu.
however, the amount of content I need in my menu is going to be rapidly
outgrown. I believe my only solution is to deploy a javascript drop down
menu (users have to be javascript compatible anyway for some other issues in
On Tue, 11 Feb 2003 08:27:57 -0600, you wrote:
Thanks for the reply. I had already tried usort previously. For some
reason, there is no data for the array fields at all in the cmp function
- not sure why. Does anyone know? All help is appreciated! Thanks.
Can you post a short code sample
I am developing a web-based GPS vehicle tracking solution using php.
I'm looking on how php can communicate with a SMSC using Smpp to issue AT
commands.
Development platform is windows 2000.
Thanks
Nyon
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system
In this example which parallels a problem I am having in my real life
script. I would like to have a global object, in this case $tester. I would
then like to be able to store local references to this global object right
inside the class. These are assigned byref in the classes constructor.
This
Is there a way to configure php to use a database for sessions rather than
a text file.
I have a server farm and want the session files to be accessible to all
machines in the cluster. I can have the session file on nfs but I am
worried about file locking.
I have read tutorials on how to set
- Original Message -
From: Robert E. Harvey, M.D. [EMAIL PROTECTED]
To: php [EMAIL PROTECTED]
Sent: Tuesday, February 11, 2003 6:21 PM
Subject: [PHP] grief with printf(), padding and alignment of text
I'm running PHP 4.2.2 and I'm having trouble with the printf()
function. I want to
Hi,
Wednesday, February 12, 2003, 1:34:49 PM, you wrote:
RM Is there a way to configure php to use a database for sessions rather than
RM a text file.
RM I have a server farm and want the session files to be accessible to all
RM machines in the cluster. I can have the session file on nfs but I am
Can anybody help me with file uploading, again...
Have you tried using the fairly simple example that is given at
http://www.php.net/manual/en/features.file-upload.php yet? I've found
that starting with this example and then adding all the extras tends to
work well when you've got problems.
Hello,
I'm likely the person you're looking for.
My name's Rija
I live in Vanuatu, and I teach IT and computer science for the MontMartre
High School.
I'll give you some of the best website I've done:
- trano-bongo.com
- evelyneproducts.com
- vanua2.com
- madeinpacific.com
Also, I've done plenty
I collect some PHP code in an HTML form (textarea) I then save this in an
array in a file using export_var(). If the code entered in the textarea is
this:
echo To ._LOGIN. click the login link below;
And the constant _LOGIN happens to be defined in the current script that
generates the form
On Wednesday 12 February 2003 05:44, Chad Day wrote:
This is with PHP 4.2 and register_globals off.
I am setting cookies and starting a session in the following fashion:
setcookie(EMAILADDR, $row[EMAIL], time()+2592000, '/', .$dn);
where $dn = mydomain.com
I want the cookies accessible
1 - 100 of 112 matches
Mail list logo