Hello.
How do you decrypt a data that's encrypted with crypt($data).
Now, the php documents says crypt() is a one-way crypting function, so
there is no decrypt() function. I was wondering if someone could shed some
light on alternative ways to encrypt & decrypt data.
I've looked at mcrypt_gene
Hello everyone,
I am using PHP with Windows XP. I am trying to have a ".exe" program (written and
compiled in C) launched by my PHP script, using either system(), passthru()... That
works great ... as long as I only have one request at a time. When I have two (or more
request) at the same tim
i programmed a metasearchengine with php - it works but it is to slow.
does someone know how to do parallel connections to searchengines ?
Let s say i have 4 php scripts - each script gets data from a
searchengine. I have included those 4 script in my resutl html page
(via include..) - but i ha
Hi
This is probably a stupid question, but I can't figure it out. I've
been trying to search the PHP site for an answer without luck.
I want to return results in an array from an extension. The array may
or may not be defined. The array may or may not contain values. The
PHP function could be
- Original Message -
From: "Vergoz Michael (SYSDOOR)" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, September 19, 2002 12:38 PM
Subject: [PHP-DEV] and so... there is a security problem.
Hi list,
i think that you have to return a _s64 per default, cuz for exemple i'm
using
php-general Digest 19 Sep 2002 11:01:14 - Issue 1594
Topics (messages 116803 through 116856):
How to approach a new project?
116803 by: Wm
Re: Join in MySQL-select doesn't work
116804 by: David Robley
mysql_query w/ JOIN results giving unexpected results w/ PHP (not regula
Hi All,
I posted this question before but didn't get proper response may be I didn't explain
it properly.
This is what is our clients requirement. Guide me through this as to how to
accomplish this in PHP.
The first part that will need to have a direct interaction with SYSTEM
must be rep
Hi all,
How do i display British Pound through PHP.
I can right now display Dollar Symbol but how do i display British Pound.
karthikeyan.
Hi,
I just want to learn if there is any differen between
$_POST[ID] and $_POST['ID'] ..If there is.. does it cause a
problem ?..
thanks
meltem
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
first thing is get the data structure right - third normal
form at least.
table1:
date
group
table2:
group
exercise
weight
reps
or something like that.
get the data model right and reports and input forms write
themselves, get the structure wrong and everything becomes
really difficult.
the
I assume you mean how do you display a British Pound in HTML
The escape
£
Should do what you want.
HTH
Richy
==
Richard Black
Senior Developer, DataVisibility Ltd - http://www.datavisibility.com
Tel: 0141 951 3481
Email: [EMAIL PROTECTED]
-Origin
if your query is within a loop then it would probably help, e.g.
for ($i = 1; $i <= 1000; $i++)
{ $result = mysql_query("...");
...
}
in this case as $result is a resource identifier then reusing
it doesn't release the original result.
Tim Ward
www.chessish.com
>
is using classes an option?
Tim Ward
www.chessish.com
> -Original Message-
> From: David T-G [mailto:[EMAIL PROTECTED]]
> Sent: 19 September 2002 04:54
> To: PHP General list
> Subject: redefining a function
>
>
> Hi, all --
>
> Is there any way to redefine or undef
I have a PHP/mySQL calendar site and need to synchronize with my
Outlook calendar. Has anyone out there done anything similar?
Rafic
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi all,
Relative newbie here, and I am just coming to grips with something that I
think is a very bad thing... Please tell me I am wrong.
When using PHP, it is the Apache user that actually performs things, and
therefore needs permissions. For example, if I want to write data to a file,
I have t
here's an ASCI chart for future reference :)
http://www.main.org/no_index/clients/asci_codes.htm
I think £ works too, but I'd be going for the ASCI number.
Justin
on 19/09/02 9:32 PM, karthikeyan ([EMAIL PROTECTED]) wrote:
> Hi all,
>
> How do i display British Pound through PHP.
>
> I can
Yes.
$_POST[ID]
Since there are no quotes around the variable name ID and no dollar sign in
front of it, PHP will look for a constant named ID and if one is not found
it will blow chow.
$_POST['ID']
Should work find, assuming a variable named ID came from your form. However,
I wouldn't get i
Dear Bill Leonard,
Once you wrote about "[PHP] In a shared environment...":
> Relative newbie here, and I am just coming to grips with something that I
> think is a very bad thing... Please tell me I am wrong.
>
> When using PHP, it is the Apache user that actually performs things, and
> therefo
I just tested it (with wrong password) and it worked.
Jason wrote:
>As an adendum to this... my initial thoughts are that the forms are not
>posting correctly in XP. I'm using the POST method.
>
>
>Jason Cathcart
>Check Out My Site: http://www.biohazardous.org
> -Original Message-
> Fr
I have seen it on many sites now and since I have been using PHP for so long and done
a huge amount of coding with it I thought it would add a nice touch and it could be
used for statistical purposes to assist me in database effeciency and so forth.
The idea is a page "execution" timer.. or a d
which function divides astring to the pieces accorrding to another string.
for example according to a comma ..
thanks...
meltem
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[snip]
which function divides astring to the pieces accorrding to another string.
for example according to a comma ..
[/snip]
explode()
http://www.php.net/manual/en/function.explode.php
HTH!
Jay
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/u
Easy,
Put a code to the beginning of the page that takes the unix time stamp,
and another one to the end. The difference is the execution time at the
server side...
-=[ Julien Bonastre ]=- wrote:
>I have seen it on many sites now and since I have been using PHP for so long and done
>a huge am
> which function divides astring to the pieces accorrding to another string.
> for example according to a comma ..
explode();
Chris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
||string *strtok*| (string arg1, string arg2);
|
Meltem Demirkus wrote:
>which function divides astring to the pieces accorrding to another string.
>for example according to a comma ..
>
>thanks...
>meltem
>
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http:/
if $datetest has a strict format, use $getdate[1]==$datetest, also put
$datetest="$day.month.$year" out of the while loop, it doesn't need to
be recreated over and over.
Chad Winger wrote:
>Yes, I'm STILL a newbie :) I've gotten pretty far in a few days thanks to
>you all. I have a new questio
Hi all,
is there any tool to check which PHP-Version a project needs at
minimum?
I am looking for something that crawls through the project and notices
all php-functions, variables and such and tells which PHP-version is
needed to get it running, because it's hard to keep track of e.g.
functions
on 20/09/02 12:03 AM, WEB MASTER ([EMAIL PROTECTED]) wrote:
> Easy,
> Put a code to the beginning of the page that takes the unix time stamp,
> and another one to the end. The difference is the execution time at the
> server side...
microtime workds better, because most pages execute in under a
Nice idea!!!
I'd be interested in contributing to such a project, if one doesn't already
exist.
Justin
on 19/09/02 11:47 PM, Thomas -Balu- Walter ([EMAIL PROTECTED]) wrote:
> Hi all,
>
> is there any tool to check which PHP-Version a project needs at
> minimum?
>
> I am looking for somethin
> -Original Message-
> From: Christian Calloway [mailto:[EMAIL PROTECTED]]
> Sent: 19 September 2002 01:56
>
> I dont have access to the php.ini file, is there anyway to access the
> "include_path" setting programatically from php? Thanks
ini_get()http://www.php.net/manual/en/functio
Hi,
does anyone know a lib or a module which can generate Excel files with
PHP? Also commercial is fine.
Matti Simperi
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Geoff,
I looked at the string.
s:1745:"s:1735:"s:1725:"s:1715:"s:1705:"s:1695:"s:1685:"s:1675:"s:1665:"s:1655:"s:1645:"s:1635:"s:1625:"s:1615:"a:2:{
see all of the s's? It means that unserializer will produce a string that
looks like was not unse
[snip]
does anyone know a lib or a module which can generate Excel files with
PHP? Also commercial is fine.
[/snip]
There are lists of articles, tutorials, and other stuff.
http://www.google.com/search?hl=en&ie=UTF-8&oe=UTF-8&q=generate+Excel+files+
with+PHP
An article I like ...
http://www.evo
Found this on phpclasses:
http://phpclasses.websapp.com/browse.html/package/86.html
Regards,
Daniel Kushner
_
Need hosting? http://thehostingcompany.us
> -Original Message-
> From: Matti Simperi [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, Septembe
on 19/09/02 11:37 PM, -=[ Julien Bonastre ]=- ([EMAIL PROTECTED])
wrote:
> I just want to know what function or module covers this feature.. If it is at
> all possible..
Top of your script:
Bottom:
Similar things could be done with MySQL quereies, but I haven't looked into
it.
Justin Fr
Hello:
What is the best and easiest way to generate reports from PHP? I supose is to
generate XML and transform later to HTML, PDF or TXT, but is there any PHP library to
help me create reports with page headers, detail bands, subdetails, summaries and so
on?.
Regards.
--
PHP General Mai
> -Original Message-
> From: Chad Winger [mailto:[EMAIL PROTECTED]]
> Sent: 19 September 2002 06:25
>
> Still using my text file example, which has lines such as:
>
> 0706010102|01.01.02|16:00|Serie C2|02|Forlì|Florentia Viola|
> 0610010102|01.07.02|16:00|Serie C2|05|Florentia Viola|Gubb
Hi,
Is there any way to read php source code? I didn't think so until I
heard about people you have done that...
Kind regards,
Oliver
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Thu, 19 Sep 2002 16:50:16 +0200
[EMAIL PROTECTED] (Oliver Witt) wrote:
> Hi,
> Is there any way to read php source code? I didn't think so until I
> heard about people you have done that...
> Kind regards,
> Oliver
>
Do you mean the source of php.net ?
Try http://de.php.net/source.php?url=/i
Hi,
does any body knows a cool editor for php that run under redhat 7.x and
where i can find?
tanks -- Gian Michele
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
/bin/vi
:)
Adam
On Thu, 19 Sep 2002, Gian Michele wrote:
> Hi,
> does any body knows a cool editor for php that run under redhat 7.x and
> where i can find?
> tanks -- Gian Michele
>
>
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http:/
Lol. Here, Here!
-Original Message-
From: Adam Williams [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 19, 2002 11:06 AM
To: Gian Michele
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] editor php
/bin/vi
:)
Adam
On Thu, 19 Sep 2002, Gian Michele wrote:
> Hi,
Zend Studio if you can afford it...
www.zend.com
My work paid for it aint I lucky.
John Wards
SportNetwork.net
- Original Message -
From: "Gian Michele" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, September 19, 2002 4:57 PM
Subject: [PHP] editor php
> Hi,
I haven't tried this, but it's a PHP Class named, "EditPHP."
http://spunge.mirrors.phpclasses.org/goto/browse.html/package/43.html
Eric C. Pollitt, Founder
401 E. Illinois Ave.
Peoria, IL 61603
Global Hemp - Portal to the hemp community
http://www.globalhemp.com/
"Hunt out places and soil suita
PHP is open source so anyone can get the source code to it. You can find it
at http://www.php.net/downloads.php
- Original Message -
From: "Oliver Witt" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, September 19, 2002 9:50 AM
Subject: [PHP] PHP source code
> Hi,
> Is ther
Hello,
My function to read a comma separated text file and return a sorted multi-dimensional
array will not work if used more than once per page.
I know why I'm having this problem. But, I don't know how to solve it. :-(
Calling it Twice:
$services = tbl2array ("../locations/service.txt",
Looks like you may not redeclare functions generally.
Because the function tbl2array can't be any kind of scope,
the functions declared inside it will be globally declared.
I think the solution is to take the functions like compname()
out of tbl2array and declare them "really global".
On Thu, 19
Hello,
Do you know the answer to this got'tcha? I want to call usort with a variable function
name. Basically, I want usort to sort any field I specify. Currently, I'm stuck
declaring a pile of functions and calling usort from if/elseif statements. :-(
Current:
function compname ($a, $b) {
Tim, et al --
...and then Tim Ward said...
%
% is using classes an option?
I don't know. I suppose I need to learn about classes :-) Where do I
start?
%
% Tim Ward
% www.chessish.com
TIA & HAND
:-D
--
David T-G * It's easier to fight for one's principle
How could you redirect somone from directly accessing a file...
Meaning... if an engine spiders www.domain.com/some.php
How could you make some.php redirect to index.php
However... the site is framed, and the menu uses content.php to display the
selected content.
Any ideas?
--
PHP General
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I've used Quantaits an opensource project.
http://quanta.sourceforge.net/
~Pauly
On Thursday 19 September 2002 11:57 am, Gian Michele wrote:
> Hi,
> does any body knows a cool editor for php that run under redhat 7.x and
> where i can find?
> tan
I guess it is sth. like :
http://www.domain.com/index.php'); ?>
If it doesnt work try www.php.net/header, there is an example.
On Thu, 19 Sep 2002 17:21:15 +0100
[EMAIL PROTECTED] (Brian McGarvie) wrote:
> How could you redirect somone from directly accessing a file...
>
> Meaning... if an en
put this to the begining of your some.php
if (eregi("some.php",$PHP_SELF)) {
Header("Location: index.php");
die();
}
Brian McGarvie wrote:
>How could you redirect somone from directly accessing a file...
>
>Meaning... if an engine spiders www.domain.com/some.php
>
>How could you make s
I am interested in writing a large scale, cross platform payroll/hr/gl appl
entirely in php + mysql Innodb (for transaction support).
I have 2 php programmers 1 asp/foxpro/access programmer to help me.
I see 4 big hurdles to overcome in my php design: Large Libraries, Long
Processes, Reporting,
1. Never had any problems with big includes before.
2. Maybe add a console based prog which sits in the background and
process's jobs if you don't want to leave the web page open while
it works, etc.
3. Make them PDF's (pdflib), we use it, and once you get programming
in it, it's fairly easy.
4. I
Hi list,
What are peoples' thoughts on "one should always return a value from a
function, even if it's always going to be true"?
Cheers
Jon
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
One extra variable to be declared to catch the true (if you do try
and catch it) and one extra line (the return line in the function),
I'd say skip it if you know your never returning anything different.
Adam Voigt
[EMAIL PROTECTED]
On Thu, 2002-09-19 at 13:17, Jon Haworth wrote:
> Hi list,
>
>
Hi Adam,
> > What are peoples' thoughts on "one should always return
> > a value from a function, even if it's always going to be
> > true"?
> >
> I'd say skip it if you know your never returning anything
> different.
Yeah, that's what I was leaning towards :-)
What prompted the question wa
Hello,
I have a new Apache 2.0.40 with PHP 4.2.3 installation on a Solaris x86 box.
Configered in httpd.conf with:
AddType application/x-httpd-php .php
and
LoadModule
Parsing url´s with " .php" works fine, but i can´t figure out why it
dosen´t
work if i leave out the ".php"extension in
Hi all,
As I told yesterday, I'm setting my first home server with PHP and would like to start
adding libraries at runtime (if possible). I would like to start with the PDF library
but don't even have a clue where to get it or any of the rest. Can anyone help me
please? It would also help to k
>
>
>3)Reporting.
>I think I can get by with HTML reports for the most part. however checks
>and tax forms require precisely positioned reporting abilities.
>I think that I will be better off using an external reporting
>application (crystal,access,FoxPro etc) to generate these reports.
tor, 2002-09-19 kl. 05:27 skrev Monique Y. Herman:
> I'd started another question, realized the answer to it, and typed in another
> question without checking the subject ... mea culpa!
The only one in the whole wide world I've ever seen apologize for this.
Straight out, the only one.
Go straig
ons, 2002-09-18 kl. 20:00 skrev Sascha Braun:
> It told me at last something about the cgi installation and some things i dont
>understand,
> so i feel very insecure.
> Please help me a little.
A ... den stakkars, stakkars Sascha :-(
In the directory in which you ran './configure', did you
Stephan Seidt schrieb:
> On Thu, 19 Sep 2002 16:50:16 +0200
> [EMAIL PROTECTED] (Oliver Witt) wrote:
>
> > Hi,
> > Is there any way to read php source code? I didn't think so until I
> > heard about people you have done that...
> > Kind regards,
> > Oliver
> >
>
> If you mean php's source, downlo
is there any way to make variables NOT case sensitive??
A partner is posting information to one of my PHP scripts and cant gurantee
that variables passed will be lowercase
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Then be sure that nobody is able to read it.
Should be no problem ;)
There is no possibility to read php source,
the webserver will always count it as php file
and the file will be parsed by php.
Sure its possible to get the file over ftp, ssh, imap, etc,
but this is the problem with all the secr
Georgie Casey wrote:
>
> is there any way to make variables NOT case sensitive??
> A partner is posting information to one of my PHP scripts and cant gurantee
> that variables passed will be lowercase
Sure, whatever you use make it lower case, whataever he send,
cook to lower case.
Cheers,
Rob.
yea, i probably didnt make that clear
its the variables NAMES that he can't gurantee to be lowercase
eg
hell pass http://www.server.com/test.php?NAME=John&IDNumber=12
when im expecting $name and $idnumber
sorry
"Robert Cummings" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL
> Hi,
> Is there any way to read php source code? I didn't think so until I
> heard about people you have done that...
> Kind regards,
> Oliver
I tend to read it left to right, but to each his own
---John Holmes...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: h
Georgie Casey wrote:
>
> yea, i probably didnt make that clear
> its the variables NAMES that he can't gurantee to be lowercase
> eg
> hell pass http://www.server.com/test.php?NAME=John&IDNumber=12
> when im expecting $name and $idnumber
$lowerVars = array();
foreach( $_POST as $key => $value )
A solution that I use is to put important information in an include file,
and store it in a User-Authentication protected folder, ie. /admin/
This adds one extra layer of protection to your files, and keeps the
average joe-surfer from being able to get the files.
Peter
At 08:24 PM 9/19/2002
You could concievably use the get_defined_vars(); function to impliment a
forced-variable-case machine at the start of your script.
http://www.php.net/manual/en/function.get-defined-vars.php
-Kevin
- Original Message -
From: "Georgie Casey" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent
> $_POST[ID]
> Since there are no quotes around the variable name ID and no dollar sign
in
> front of it, PHP will look for a constant named ID and if one is not found
> it will blow chow.
Depending on your error_reporting() level whether this "warning" is reported
or not. Better to not use this
> Relative newbie here, and I am just coming to grips with something that I
> think is a very bad thing... Please tell me I am wrong.
>
> When using PHP, it is the Apache user that actually performs things, and
> therefore needs permissions. For example, if I want to write data to a
file,
> I have
1) Large Includes
200K of includes? Piece of cake! Remember, it is the server that is doing
all of the work, not your clients. The issue is how many requests can your
server simultaneously process and is there enough overhead to do it. With
respect to speed, your server will cache the files aft
Hello,
I'd like when I click on a link http://www.website.com/file.zip>
update a table and start the download without change the page.
Could you tell me how to do ?
Christian,
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
I found a free pdfclass called FPDF http://www.fpdf.org, that I can use with
PHP to create pdf files with. Before someone tells me "Read The Manual", I
have read their page and used Google to search for notes on how called mysql
into a PDF and I am lost. Does anyone know where there is a tuto
Hi All,
Using a link $bname I could pass
$bname to another page and using "SELECT * FROM table WHERE bname =
\"$bname\""; I could get all I need from the db on the new page. Now
that globals have been turned off and superglobals are replacing them.
How should I pass and catch the var?
TIA
Gar
Pass the vars the same way. Use $_GET['bname'] to retrieve the var.
-Kevin
- Original Message -
From: "Gary" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, September 19, 2002 1:54 PM
Subject: [PHP] pass var through URL String
> Hi All,
> Using a link $bname I could pass
Christian,
You'll need to prompt the download by sending the appropriate headers.
Something like..
http://www.mydomain.com/downloadmyfile.php>Download
This is untested but from my experience it should work.
Good luck,
Kevin
- Original Message -
From: "Christian Ista" <[EMAIL PROTECT
> You'll need to prompt the download by sending the appropriate headers.
> Something like..
>
> http://www.mydomain.com/downloadmyfile.php>Download
>
> header("Content-Type: application/zip");
> header("Content-Disposition: attachment");
> readfile("file.zip");
> ?>
It's not only .zip file but
I have a question that I have yet to figure out. Let's say I have a PHP
script with multiple fuctions, how do I call on the script to perfom
specific functions through a url? Ex:
http://www.sample.com/script.php?fucntion1
TIA
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
I just installed a new PHP server, and forget how to stop it from
displaying the page Content-type info at the top of the page.
Please help.
=P e p i e D e s i g n s
www.pepiedesigns.com
Providing Solutions That Increase Productivity
Web Developement. Database. Hosting. Multimedia.
--
Tried that already and get an error using $_GET['bname']
T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or
T_NUM_STRING
using $_GET[bname] without the quotes
Undefined index: bname
Gary
Kevin Stone wrote:
> Pass the vars the same way. Use $_GET['bname'] to retrieve the var.
>
http://www.sample.com/script.php?fucntion=1
http://www.sample.com/script.php?fucntion=2
Then do a 'case' or 'if' on $_GET['fucntion']
"Tom Ray" <[EMAIL PROTECTED]> skrev i meddelandet
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I have a question that I have yet to figure out. Let's say I have
On 19 Sep 2002 at 16:13, Tom Ray wrote:
> I have a question that I have yet to figure out. Let's say I have a PHP
> script with multiple fuctions, how do I call on the script to perfom
> specific functions through a url? Ex:
> http://www.sample.com/script.php?fucntion1
I wouldn't say this is a s
There's obviously something wrong with the way you're handeling the new
variable. Do extract($_GET); and go back to the way you were handeling it
before.
echo $bname;
-Kevin
- Original Message -
From: "Gary" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, September 19, 2002
I don't think it is being passed. I think I am going to have to figure
out how to pass bname in the link using pear.With pear bnname=0
while ($row = $res->fetchRow()){
$bname = $row[0];
$owner = $row[1];
echo "
$bname by
$owner
";
}
Here is a function I sometimes use to log that will show you the time
that has passed since the last log entry. I find it very useful, so that
you can test a section of code's execution time simply by surrounding it
with calls to this function.
Maybe it will be useful to you.
Chris
function
php -q
>I just installed a new PHP server, and forget how to stop it from
>displaying the page Content-type info at the top of the page.
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
OK guys...
here's my question - I'm using 4.2.3 and apache 1.3.26, and I've got
sessions setup. however, it seems to be using an SID attached to the URL,
and I want to force it to use a cookie that points to a transparent SID on
my system.
I've got the following options in my php.ini, but the s
Jeff Bluemel wrote:
>I want to force it to use a cookie that points to a transparent SID on
>my system.
>
Can you elaborate on this? I have no idea what you mean.
>I've got the following options in my php.ini, but the system doesn't seem to
>ever use a cookie, and the sessions don't die. (that
I also just noticed that you have session.use_only_cookies = 1, so
unless you get the session ID back in a cookie, the session will restart.
Chris Shiflett wrote:
>> I've got the following options in my php.ini, but the system doesn't
>> seem to
>> ever use a cookie, and the sessions don't die
I was wrong, it is passing $bname. I have got it down to a syntax error
by using.
$sql = "SELECT * FROM bugs WHERE bname = {$_GET['bname']}";
gary
Gary wrote:
> I don't think it is being passed. I think I am going to have to figure
> out how to pass bname in the link using pear.With pear bn
This function:
function getmicrotime()
{
list($usec, $sec) = explode(" ",microtime());
return ((float)$usec + (float)$sec);
}
is provided on this page:
http://www.php.net/manual/en/function.microtime.php
and is needed for the code below to work properly.
Beau
> $timerOn = 1; // s
> I was wondering is there a way to strip ONLY the tags that you specify
> from
> a page, rather than having to include all the tags you do want (using
> strip_tags() )
A regular expression or str_replace() would be best for this.
Realize this isn't a good method, though. What if you're trying
> I would like to get all the data from a POST-result into an array.
>
> Is there a function like that adds all the vars from the post into an
> array
> where Key is the name of the form-field and Value is the value entered
in
> this field.
>
> Like this:
> array('firstname' => 'fname', 'lastnam
I've looking for pre-built php_mcrypt library. Does anyone know where I
can get one. I'm basically looking for something that would not require
me to reload or recompile php [shared hosting issues...].
The environment is : PHP 4.1.2/Linux /Apache 1.3.26.
Any help would be greatly appreciated.
I have a php script that tries to write files in a
particular directory. When the script writes files
the ownership is "apache". The problem I have is the
particular directory that the script is trying to
create files in, it cannot, because it does not own
that directory and it is not part of th
If memory serves, $td is returned by mcrypt_module_open()
http://www.php.net/mcrypt-module-open
On Thursday 19 September 2002 00:54, [-^-!-%- wrote:
> Hello.
>
> How do you decrypt a data that's encrypted with crypt($data).
>
> Now, the php documents says crypt() is a one-way crypting functio
1 - 100 of 125 matches
Mail list logo