The rest of the time, the file is being created correctly but
not included correctly.
I've tried to include() and require(). No error is ever generated, I
suspect because the file exists, and include/require are being called while
the file is still open (even though I've flushed and clos
ing OS, and that I wouldn't be able to count on this
functionality.
I'd love to hear about the experience of list members who use this on many
different PHP platforms.
Thank you,
-- Charles Wiltgen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
related to the workaround of not being able to create local
files as another use with PHP.
I hope this saves someone a few hours,
-- Charles Wiltgen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Marco Tabini wrote...
> Ok, here's another possibly stupid solution.
Not at all. My solution was not far from that -- I have to wait for the
file to exist, and then to have something in it, and then include it. (See
my "PHP fopen() bug + solution" post.)
Thank you,
() until it's larger than 10 bytes. I should while()
until it's the size of the data I've written, but this method has been
reliable so far.
--
Charles Wiltgen
"Well, once again my friend, we find that science is a two-headed beast.
One head is nice, it gives us aspirin an
Ernest,
> To be more effective, and to allow the OS to do something else while you're
> waiting at the file, your script should sleep for some microseconds...
An excellent suggestion, thanks very much! :^)
-- Charles Wiltgen
--
PHP General Mailing List (http://www.php.net/)
To
ervers out there.
I will add a note to the documentation along the lines of "If you fopen() to
an FTP URI, write some stuff, fflush() and ffclose(), that doesn't mean the
file is complete (or that it even exists). Check for both of these things
before you do anything with the file.
any security-conscious providers don't allow
shell_exec(). Mine doesn't.
-- Charles Wiltgen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I want to have it happen in a real time scenario
There are several helpful people on the list, but you have to ask specific
questions. If you want someone to do it for you, then you should give folks
an idea what what you're willing to pay per hour or for the entire project.
-- Charles Wi
you have
them. If you don't know anything about using PHP and MySQL, buy one of the
many fine books available on the subject. Or, you could just pay someone
to do it for you.
-- Charles Wiltgen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ssion IDs appear in a URL, and (3) I prefer not to use require a
database just to store persistent properties.
Are there drawbacks to storing persistent object properties as a serialized
value in hidden fields that I'm missing? This is a newbie's first major web
application, so I really
and Ernest, for straightening me out on PHP sessions --
my only excuse is that the otherwise very-helpful "Professional PHP
Programming" barely discusses them.
-- Charles Wiltgen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Ask your worst, but search the archives first!
<http://marc.theaimsgroup.com/?l=php-general>
...appeared at the bottom of the messages. List Mom?
-- Charles Wiltgen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
David Rice wrote...
> It's not "mandatory" to put quotes around attributes, but it would be wise to
> use this style="recommended" method of representing attributes, if for no
> reason="other" than to get used to a habit="good".
It is mandato
ire write access that may introduce security issues?
Security issues will prevent you from reading or writing any files that
your PHP process doesn't have permissions for. In my experience, the only
reliable way to do this is by using FTP using the username and password that
the user will (pr
es and all, but at least you'd
limit the damage. I'm sure some of the more experienced people on the list
can suggest additional stuff to check against.
--
Charles Wiltgen
"Well, once again my friend, we find that science is a two-headed beast.
One head is nice, it gives us asp
m like that, no write access hassles. Can that be done? Can you
> keep your functions in a database and "include" them from there?
You could use eval(), but that didn't work for me since I had mixed
PHP/XHTML.
-- Charles Wiltgen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Ernest E Vogelsinger wrote...
>> You could use eval(), but that didn't work for me since I had mixed
>> PHP/XHTML.
>
> Why wouldn't it work?
Your example worked wonderfully, but I wasn't able to make eval() work with
mixed PHP/XHTML content (which is what I
y, though -- I'm trying very
hard not to pollute the web folder with anything that I don't have to, and
file creation/deletion is very expensive since I have to do it via FTP. Any
ideas on this one?
-- Charles Wiltgen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Ernest E Vogelsinger wrote...
> Sorry for the long post, but I believe it is important to have a look at the
> relevant standards from time to time.
Very informative, thanks!
-- Charles Wiltgen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.p
transient session
information in the URL.
If the only drawback to Invisible Get is the (unnoticeable) serving of the
tiny interim page, I think this could be a really good solution.
-- Charles Wiltgen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
c.
Exactly -- this is the problem that's solved by using my Invisible Get
method. With this method, the URL doesn't get filled with session object
properties which aren't useful (or wanted) outside of the current session.
-- Charles Wiltgen
--
PHP General Mailing List (http://www.
an generate even that on the fly with JavaScript, but I
don't know anything about JavaScript.
-- Charles Wiltgen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
o send a new value for a variable, I just have link that looks like
<http://www.domain.com/submit.php?variable=3>.
-- Charles Wiltgen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
isible GET method avoids all of this.
<http://www.getsome.com/>
-- Charles Wiltgen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello,
I anyone out there using UTF-8 for files and databases? I want to use it
for everything, and it'd be a major hassle if PHP's UTF-8 support was super-
dependent on underlying OS issues, so any feedback is appreciated.
-- Charles
Charles Wiltgen wrote...
> How mature is
Gerard Samuel wrote...
> Do you store this utf-8 stuff only in xml files?? Do you use a database? I
> was under the impression that mysql doesn't support utf-8
Yeah, that would be a problem. I didn't think MySQL would be an issue, and
I'll investigate...
-- Charles Wilt
t's simpler than you're thinking. This method just allows you to use GET
variables instead of POST variables, but without the GET drawback of the
user seeing what you're sending in the address bar.
-- Charles Wiltgen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello,
I was looking for a way to include() from a variable. I can't just use
eval(), since what's in the variable is a mixed PHP/XHTML.
Well, it turns out that there's an answer in the user notes, which haven't
worked on php.net for a few days. Basically, you eval("?
ince I have to
delete and write via FTP. In my experience, generally you can't write
directly to files using PHP, since it's running as a different user than the
ones who owns the directory.
-- Charles Wiltgen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
PHP script completes?
-- Charles Wiltgen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Khalid El-Kary wrote...
> you may use chown, chgrp, chmod
:^) Not if the hosting provider knows what they're doing.
-- Charles
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Rasmus,
> try flush()
Thanks!
-- Charles
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
tle -- this means, "Starting with the forward
slash closest to the end of $source, capture whatever comes after it and
before '.html', and put it in $dest." Obviously not correct, but I've spent
an embarrassing amount of time feel stupid. Help?
-- Charles Wiltgen
--
Hello,
Many thanks for the responses! It's working great now...
-- Charles
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
you
can click on requires its own invisible form storage somewhere, plus
JavaScript code. For example, a simple calendar using POST needs (I
estimate) at least 5x the amount of data sent to the client.
-- Charles Wiltgen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
What methods are available (ups and downs) for encrypting and
serializing php applications for sale?
Thanks,
Charles
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thanks. This is one I had not turned up in my search. Much appreciated.
- Charles
On Sunday, Sep 7, 2003, at 00:44 US/Eastern, Evan Nemerson wrote:
Take a look at Turck MMCache (free) and Zend Encoder (not).
http://www.turcksoft.com/en/e_mmc.htm
http://www.zend.com/store/products/zend
I have a project in mind where I would like to be able to Sync my Palm
with the calendar in my CRM. Anyone have info on doing this?
Thanks,
Charles
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Anyone have suggestions for open source shopping cart apps in PHP?
Thanks,
Charles
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
(a list of functions, variables
passed and returned).
Thanks.
Charles
--
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]
better security.
Thanks
charles
--
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]
fixed,
chuck
- Original Message -
From: "Charles Williams" <[EMAIL PROTECTED]>
To: "Php-General (E-mail)" <[EMAIL PROTECTED]>
Sent: Wednesday, April 17, 2002 2:34 PM
Subject: [PHP] FreeBSD fsockopen problem
> Hey all,
>
> I am in need of op
Hey all,
I find myself in need of working with IP addresses. However, the situation
is a bit strange.
There will be a form with a text box to allow IP address entries as follows:
192.168.5.195
or
123.23.35.4 123.23.35.45 123.23.35.74
or
123.4.34.1/123.4.34.255
or
13.234.5.41/13.234.5.75 12.34.
- Original Message -
From: <[EMAIL PROTECTED]>
To: "Charles Williams" <[EMAIL PROTECTED]>
Cc: "Php-General (E-mail)" <[EMAIL PROTECTED]>
Sent: Monday, March 18, 2002 10:12 PM
Subject: Re: [PHP] Working with IP addresses
> On Mon, 18 Mar 2002, Ch
Hey all,
I'm working on porting a php app to freebsd. However, there is a problem.
;)
in linux you can parse /proc/net/dev for all network statistics and make a
call to free for available memory. How could you do the same thing in
freebsd?
I have looked at "netstat -b -p ip -I ed0" but that o
yep,
finally got it working. original linux based web hosting control panel,
written in PHP, now works under freebsd 4.3 (tested), and should work on 4.4
as well.
If interested in testing on a FreeBSD system just let me know, off list, at
[EMAIL PROTECTED] I would like to get this compatible w
Hey all,
I just finished an article on Safe Mode control for PHP but it is based on
non-Win32 systems. Can somebody with a bit more experience in Win32 servers
take a look at it and let me know what can be done to achieve, if not the
same level of control then close to it, on a Win32 platform?
- Original Message -
From: "René Fournier" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, December 15, 2001 1:27 AM
Subject: [PHP] Is PHP up to task?
> (Now that I have your attention... :-)
>
> Here's the situation: All the navigational buttons in the site I'm
> working on
Necro,
inline below
- Original Message -
From: "Necro" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, December 17, 2001 9:58 AM
Subject: [PHP] Checking a frames url..
> Lo all,
>
> I am trying to write a script that will output to a frame the current
> location within a site
Shane,
is this meant for initial settings of the form only or as a button, or some
such, to allow someone to select all the boxs?
chuck
- Original Message -
From: "Shane Wright" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, December 17, 2001 6:54 PM
Subject: [PHP] 'Select Al
Mehmet,
If you can keep the scope ({and}) correct then you will have no problems.
However, it will get kinda slow after going deep enough.
chuck
- Original Message -
From: "Mehmet Kamil ERISEN" <[EMAIL PROTECTED]>
To: "php" <[EMAIL PROTECTED]>
Sent: Monday, December 17, 2001 10:07 PM
Su
Jack
$_GET is automatically global to all scopes. No need to globalize.
chuck
- Original Message -
From: "Jack Dempsey" <[EMAIL PROTECTED]>
To: "Michael Jurgens" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Monday, December 17, 2001 10:49 PM
Subject: Re: [PHP] PHP 4.10: any way to
This would require that your httpd user (nobody? depends on your setup) has
read/write access to said device (which is normally not the case). In such
a case you would need to filter it through sudo or some such.
chuck
- Original Message -
From: "Nathan Cassano" <[EMAIL PROTECTED]>
To:
Hello all,
I have an .sh shell script being executed from a php4 call. I need to
capture the string return and work with that in the php script. The only
problem is that the call works but I cannot get the returned string. I've
tried using exec, passthru, ``, system, and escapeshellcommand. N
ADD a user in linux using PHPsure, I use a small C program I wrote and set to setuid
root. that way I can hide it and it all works good with an exec call from php. I
wouldn't advise setting setuid adduser to root. It's way too dangerous.
chuck
- Original Message -
From: Bruno F
- Original Message -
From: "Brad Hubbard" <[EMAIL PROTECTED]>
To: "Charles Williams" <[EMAIL PROTECTED]>;
"Php-General (E-mail)" <[EMAIL PROTECTED]>
Sent: Saturday, June 30, 2001 1:12 PM
Subject: Re: [PHP] Capturing output of shell script.
correction below
chuck
- Original Message -
From: "Charles Williams" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; "Php-General (E-mail)"
<[EMAIL PROTECTED]>
Sent: Monday, July 02, 2001 10:54 PM
Subject: Re: [PHP] Capturing output of shel
at least a small dictionary
Although anything that could provide a starting point would be great.
Thanks,
Charles
| Charles Sprickman | Internet Channel
| INCH System Administration Team| (212)243-5200
| [EMAIL PROTECTED] | [EMAIL PROTECTED]
--
P
Hey folks,
if you go to http://www.acnsnet.com/czc/show.php?state=Bayern You can see
my problem with this query. This thing is killin me so if you have any
ideas just shout.
thanks,
chuck
Chuck's Top 10 Things to Remember and Think about!
==
Alex,
If your using sessions then just use session_destroy(); in your logout.
chuck
- Original Message -
From: "Alex Sofronie" <[EMAIL PROTECTED]>
To: "PHP General" <[EMAIL PROTECTED]>
Sent: Sunday, August 19, 2001 4:25 PM
Subject: [PHP] PHP based authentification ---
> Hi all
art of the layout, I give them a
form based image upload feature. Another thought was to have them
upload .html files and the images via a form, but then I thought this
could really cause problems if they had screwed up code.
Any thoughts would be greatly appreciated.
Thanks,
Charles
--
PHP Gener
better way to handle this?
I have never used Smarty, which I understand might be a big help in
these situations. One concern of mine is that I have a tight budget on
this project and don't want to spend a lot of time learning a new
system unless I have to.
Thanks for any advice,
Charles
-
I understand how the pages are designed etc. What I wanted to
understand better was how the pages were being displayed using PHP. I
guess it is obvious now after getting a few responses, that the HTML is
stored in a table, perhaps one record per page... then you just query
the story_id and page
Yea, But then I took his advice and found this
http://www.catb.org/~esr/faqs/smart-questions.html#keepcool so I was
not so offended :)
I had all the other links, but that one and did not think my question
was that "out there" for the list... oh well.
On Aug 17, 2004, at 12:31 PM, Jason Davidso
On Aug 17, 2004, at 1:04 PM, Matthew Sims wrote:
hn C. Nichel
OMG, John. You broke through to someone. This could be good sign. Now
if
we can just get him to stop top posting he'll be ready for anything. ;)
oops... now i got it! :)
--
PHP General Mailing List (http://www.php.net/)
To unsubscrib
On Aug 31, 2004, at 9:18 PM, raditha dissanayake wrote:
rogue wrote:
Sorry if this is the wrong place for this post. I am having problems
where PHP templates that I modify via ftp are not showing changes for
like 1 minute or so. I assume this is some kind of server caching but
I am not sure how
I'm simply not seeing anything that would cause
this.
Snippets of both files are below. Looking for any pointers - I need to
get the wiki up and running again and phpwiki releases are few and far
between.
Thanks,
Charles
first error is in this block:
/**
* safe php4 definitio
On Mon, 30 Mar 2009, Michael A. Peters wrote:
Charles Sprickman wrote:
Hello all,
Recently I upgraded a box running phpwiki from php 5.2.8 to 5.2.9. After
the upgrade, phpwiki (1.3.14) started spitting out the following two
errors, both of which are basically leaving the wiki dead in the
This was a surprisingly good idea that works for me, as I haven't coded in
about 3 years and need to get my hand back in. Trying to make use of one
idea led to several others. Thanks, tedd!
Charles
On Sat, Apr 25, 2009 at 4:54 AM, tedd wrote:
> At 7:00 PM -0400 4/24/09, Andrew Huc
Hello-
I am trying to add create a user account with the ldap_add function. However I
get the error below when it is invoked. Does anyone have ideas what may be
causing this error? What I can look into? Anything would be helpful.
Warning: ldap_add() [function.ldap-add]: Add: Server is unwill
Win 2000 Active Directory.
I'll give ldap_mod_add a shot.
- Original Message
From: Daniel Brown
To: CHARLES HUNT
Cc: php-general@lists.php.net
Sent: Wed, January 26, 2011 9:39:32 AM
Subject: Re: [PHP] ldap_add - Server is unwilling to peform
On Wed, Jan 26, 2011 at 10:17, CH
It seems ldap_mod_add is for adding attributes to a dn that is already there.
I
get the error: "Modify: No such object in..."
- Original Message
From: Daniel Brown
To: CHARLES HUNT
Cc: php-general@lists.php.net
Sent: Wed, January 26, 2011 9:39:32 AM
Subject: Re: [PHP
Do I need to be using SSL? Not sure how to implement that. (if you can't tell
I'm pretty new to PHP)
- Original Message
From: Daniel Brown
To: CHARLES HUNT
Cc: php-general@lists.php.net
Sent: Wed, January 26, 2011 9:39:32 AM
Subject: Re: [PHP] ldap_add - Server is un
red Groups.
- Original Message
From: Daniel Brown
To: CHARLES HUNT
Cc: php-general@lists.php.net
Sent: Wed, January 26, 2011 9:39:32 AM
Subject: Re: [PHP] ldap_add - Server is unwilling to peform
On Wed, Jan 26, 2011 at 10:17, CHARLES HUNT wrote:
> Hello-
> I am trying to add create a u
"Alive" on stdout...
the script ends with the SoapServer::handle() call.
Did i miss something?
an option ?
regards
FENDT Charles
P.S. I need to use the WSDL mode. The same happened, but this is easier show my
probleme
(no need of a WSDL file)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello,
I (try) to use a SoapServer in a CLI program.
I want to redirect the SoapServer::handle() output from STDOUT to a
socket stream.
(my second question is how can i prevent SoapServer::handle() to kill my
daemon process... cf php.soap)
How can I o this ?
regards
FENDT Charles
--
PHP General
Hello...
Someone knows how this work ?
use_soap_error_handler
I search a way to handle SoapFault exceptions from the SoapServer class...
Regards
FENDT Charles
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Jochem Maas a écrit :
FENDT Charles wrote:
Hello...
Someone knows how this work ?
use_soap_error_handler
I don't have a clue but looking at the docs you have at least 2 other
ways of
handling SOAP errors:
1. http://php.paradoxical.co.uk/manual/en/function.is-soap-fault.php
is_soap_fault is
Jochem Maas a écrit :
FENDT Charles wrote:
Jochem Maas a écrit :
FENDT Charles wrote:
Hello...
Someone knows how this work ?
use_soap_error_handler
I don't have a clue but looking at the docs you have at least 2 other
ways of
handling SOAP errors:
1. http://php.paradoxical.co.uk/manu
Hi
I am bulding a secure intranet.(php, mysql, apache)
I am using a session and Mysql to handel the user accounts. Everythying
works fine with that.
The client now needs to share word/pdf document with the registered user. I
created a secure directory using .htaccess for this purpose and it wor
I try to use PDO with Oracle and PHP 5.0.4 on windows...
my php.ini includes php_pdo.dll
and when I try to create an object, I got an error message "could not
find driver"
Any idea ?
regards,
FENDT Charles
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, v
I try to use PDO with Oracle and PHP 5.0.4 on windows...
my php.ini includes php_pdo.dll
and when I try to create an object, I got an error message "could not
find driver"
Any idea ?
regards,
FENDT Charles
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, v
"Duncan Hill" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On Wednesday 06 April 2005 16:23, Charles Hamel typed:
>> Hi
>>
>> I am bulding a secure intranet.(php, mysql, apache)
>> I am using a session and Mysql to handel the user ac
"Duncan Hill" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On Wednesday 06 April 2005 17:02, Charles Hamel wrote:
>> "Duncan Hill" <[EMAIL PROTECTED]> wrote in message
>> news:[EMAIL PROTECTED]
>> > One way to handle this
I try to use PDO to access to Oracle database...
I use "PDO::prepare" and bindParam to set var values...
but it didn't work !!!
PDO_PARAM_INT didn't work with columns of type NUMBER...
What can i do ???
Regards,
FENDT Charles
--
PHP General Mailing List (http://www.php.net/)
T
I try PDO with Oracle...
I want to use a prepared query with a param... but bindParam freeze
Apache, exec(arra(...)) send me an error :
OCIBindByPos: ORA-01036: numïro/nom de variable interdit
(..\pecl\pdo_oci\oci_statement.c:259)
Any idee ??
Regards,
FENDT Charles
--
PHP General Mailing List
Charles FENDT a Ãcrit :
I try PDO with Oracle...
I want to use a prepared query with a param... but bindParam freeze
Apache, exec(arra(...)) send me an error :
OCIBindByPos: ORA-01036: numïro/nom de variable interdit
(..\pecl\pdo_oci\oci_statement.c:259)
Any idee ??
Regards,
FENDT Charles
more
?
$sqlquery = "insert into x_table (team_id,number,) values
('$team_id','$number')
$team_id is the MD5 formatted cookie value and I need to put it to the
x_table column team_id in cleartext.
Thanks a lot
-Will
MD5 => no reverse
that's why it's "secur
y($rs)){
$this->str .= " - " . $row['bpPositionID'] . "\n";
}
}
return($this->str);
}
Later
$depts = $org->getDepts();
echo "" . $depts . "";
Thanks,
Charles
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
module...
if the file is in the path...
But try to use MySQLi or PDO (PHP 5.1 or PECL modules for PHP 5.0)
This is a must better way to acces mysql Database...
regards,
FENDT Charles
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I have two test files running on a server, which is giving me a headache,
due to the fact the session variables are not been maintained across the two
pages.
The server is running ...
PHP Version = 4.0.5
register_globals = ON
Session Support = Enabled
session.auto_start = Off
session.cache_expir
world";
and in script2 :
print($_SESSION['test']);
vincent
-Original Message-
From: Charles Collins [mailto:[EMAIL PROTECTED]
Sent: mardi 20 avril 2004 17:44
To: [EMAIL PROTECTED]
Subject: [PHP] session variables
I have two test files running on a server, which is giving me a h
Dupont" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
I would do
script 1 :
$_SESSION['test'] = "hello world";
and in script2 :
print($_SESSION['test']);
vincent
-Original Message-
From: Charles Collins [mailto:[EMAIL PROTECTED]
Sent: mardi
omain", $domain_name)
Works a treat now, the server was saving the session cookie for the wrong
url and hence when the secoudn page was called in the same browser it wa not
able to collect up the session variables as the domain names were different.
Thanks again,
Regards
Charlie.
"Charles C
Hi all,
I was having a conversation with a friend and talking about coding
standards in the open source community (focusing on PHP). I seem to
remember there being a document out there that sort of laid it out
pretty well.
Anyone know where I might find a copy?
Thanks,
Charles
--
PHP General
Hi all,
I am using fgetcsv() to get a tab delimited text file into an array. It
gives me an array in this format:
Array
(
[0] => Array
(
[0] => 97
[1] => Effects of Slow Heating Rates on Products of
Polyethylene Pyrolysis
)
[1] => Array
(
Thanks!!!
On Jul 22, 2004, at 11:39 PM, Justin Patrin wrote:
On Thu, 22 Jul 2004 23:34:56 -0400, charles kline
<[EMAIL PROTECTED]> wrote:
Hi all,
I am using fgetcsv() to get a tab delimited text file into an array.
It
gives me an array in this format:
Array
(
[0] =&
lds[$j]] = ${$fields[$j]};
}
The problem I am having is that the code is now on a more secure
server with register_globals off (and I don't want to turn that on).
I am not sure how to get the POST data sorted out using this method.
Hope it is clear what I mean.
Thanks,
Charles
--
any shell script they want.
Does anyone know anything about this, and if they do - have any
thoughts on how it may have gotten on the server and how to secure
against it in the future? Just trying to help out a friend here.
Thanks,
Charles
--
PHP General Mailing List (http://www.php.net/)
To
101 - 200 of 244 matches
Mail list logo