I'm
lazily helpful!
--Joseph Guhlin - http://www.josephguhlin.com/
Was I helpful? Let others know:
http://svcs.affero.net/rm.php?r=bahwi
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
You may also want to look at:
http://www.php.net/manual/en/function.ini-set.php
to control various aspects of PHP's sessions. I've found ini_set() with
sessions to be invaluable. Hope this helps!
--Joseph Guhlin - http://www.josephguhlin.com/
Was I helpful? Let others know:
ht
Forgive if this is not the answer to the problem. I think he means a
blank line at the beginning of the file before the
If you have anything before the
--Joseph Guhlin - http://www.josephguhlin.com/
Was I helpful? Let others know:
http://svcs.affero.net/rm.php?r=bahwi
-- or hire me
Sorry, it was late at night. I'm glad you have the SSL and everything
else already taken care of.
What I meant was for you to build your own session system, so that it is
secure, instead of using PHP's built in session system. Someone once
said that it has a 1% chance of cleaning up the session
I'm not too familiar with this method, but trying putting the @ symbol
in front of the statement.
ex:
$file = @fopen(.);
Hope this helps.
--Joseph Guhlin
http://www.josephguhlin.com/
Web Programmer / Unix Consultant / PHP Programmer
--
PHP General Mailing List (http://www.php.net/)
To
Sorry, OpenSSL is base in FreeBSD, so I didn't have to set it up myself.
You can check www.openssl.org and www.apache.org. You still have to buy
a cert though. For that, try:
www.verisign.com
and www.instantssl.com --- seems alot cheaper, no experience with them
however
But chances are your be
That's a big question.
The most secure way, using either mcrypt or PGP, is to have an
application on the client's side that does the encryption and the
decryptiong. This is probably the best solution. Heavily encrypt things
on both sides, and this assumes the client side is secure.
Barring thi
register_globals which turned the id= into $id is turned off in PHP 4.
This is a good thing(security reasons). You need to use $_GET['id'] (or
in PHP3, $HTTP_GET_VARS['id'], and this also works in PHP4).
It takes a bit to get used to it, but it's a much better way to handle
things, especially w
The problem is right here:
for ($i=0; $i<=12; $i++)
{
echo $_POST['$i'];
}
Single quotes cause variables to not be interpolated. IE:
$i = 5;
echo $i;
echo "$i";
echo '$i';
?>
this prints out:
55$i
See? Change that line to
echo $_POST[$i];
and it should work just fine.
Regards,
--Joseph
Haha, working on this same problem myself, right now. I used curl.
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $base . $page . '?' . $query);
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_setopt($ch, CURLOPT_COOKIE, $_SESSION['session']);
curl_setopt ($ch, CURLO
http://marc.theaimsgroup.com/?l=php-general
is for the general list, other archive locations for other lists can be
found at:
http://www.php.net/mailing-lists.php
Happy Searching!
Mohanaraj wrote:
Hello,
Could anyone please point me to a searcheble archive of this mailing list.
Thanks guys.
http://www.php.net/fopen
Just open the file like any other time, using w+ (I believe, check the
link above) and then use fputs
http://www.php.net/fputs
That'll overwrite it. You may want to check it to see if it exists first,
http://www.php.net/file_exists
--Joseph Guhlin
http://www.josephguh
o drink, or too little. I'll try and post again in
a couple of hours and let's see which of the two is the case :-)
Marco
On Fri, 2002-11-15 at 23:26, bahwi wrote:
Oh, sorry, I'm running the 4.2.3 standalone version(from FreeBSD Ports
system) and I have to use the tags still.
I
Oh, sorry, I'm running the 4.2.3 standalone version(from FreeBSD Ports
system) and I have to use the tags still.
It looks like a CGIwrap problem, but I'm not familiar with that. =/
--Joseph
http://www.josephguhlin.com/
Marco Tabini wrote:
Joseph, I think he's trying to run the script from the s
That is in no way a correct php program. What error are you getting on
the page? Or are you seeing the source? If you are seeing the source
when you try to view the script it is a problem on their end(they may
want them named as .cgi instead of .php, although rare now, this might
be how they ar
Because you can only do that with JavaScript, and that still assures
nothing. You can always just download the source of an HTML page with no
problems. In UNIX with libwww installed you just type GET
http://www.microsoft.com/ and it downloads the html and puts it on the
screen.
-
There are typically called a 'heredoc' or 'here document'. basically it
changes the double quotation mark(") to
'content' (in this case). To start, do this <<
and to end it just type content;
on a line by itself.
The example you showed does echo the stuff out. It sets all the internal
html to $
17 matches
Mail list logo