Hello everybody,
I am still having problems to run php scripts inside a directory with
register globals on.
This is what I did put inside the httpd.conf file right after the close tag.
php_value register_globals on
It does not change anything. I restarted apache of course.
Do u have an
Steve,
I think it's fairly standard that hosts provide you with a single database.
A suggestion made with earlier thread, which I follow, is simply to make sure you set
up your tables with names that clearly identify their function to you.
Michael Egan
-Original Message-
From: Steve J
Ben,
I don't know whether this is the most efficient way of doing things but when I've
tried in the past to sort multidimensional arrays according to a number of values I've
ended up giving up on the PHP functions and creating a temporary table in MySQL.
You can then retrieve the information
I know similar threads have come up on this in the past but I suspect it's a
constantly changing picture.
I recently saw a favourable review of Zend Studio 2.5 but wondered, out of curiosity,
what sort of tools people use to develop PHP scripts and MySQL databases, tables and
queries.
Up unti
Hi,
Wednesday, August 21, 2002, 5:34:35 PM, you wrote:
A> Hello everybody,
A> I am still having problems to run php scripts inside a directory with
A> register globals on.
A> This is what I did put inside the httpd.conf file right after the > close tag.
A>
A> php_value register_globals on
Michael, et al --
...and then Michael Egan said...
%
% I know similar threads have come up on this in the past but I suspect it's a
constantly changing picture.
...
%
% Any thoughts?
Yes. vim forever! It's all you need :-)
OK, I admit that I'm interested in seeing what comes out... Please
Hi evey1,
sorry if I' ve already posted this :
in order to remove a whole array of values from a multidimensional array
I tried the following:
foreach($bkmks as $val) {
if($val[8]==$cod){
even more, if you want to use curl...
I remember that curl can take post data from an input file, so dump the
$strXML to a temp file then supply that file to curl.
good luck,
"Samantha Savvakis" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> HI,
>
> I'm using
At http://www.php.net/ChangeLog-4.php#4.2.0 there is a note (Note: Apache2
support is EXPERIMENTAL.)
Is this note still justified for PHP/4.2.2? Is it about security?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
thanx tom, but this doen not seem to have anything to do with it.
Regards,
Andy
"Tom Rogers" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi,
>
> Wednesday, August 21, 2002, 5:34:35 PM, you wrote:
> A> Hello everybody,
>
> A> I am still having prob
Hi list,
I have a form to post resumes. In one parte the user have a option to choose
up to 5 languages and his knowledge in it. example : english: basic advanced
My problem is that was stored serialized in the BD and now I need to do a
search by language and knowledge. How can I do this. I
Hi there.
Which way would be the most efficient/fastest to access images from an image
library.
A) Store image files in a hash directory structure AND storing each file's
information in a mysql table
OR
B) Storing image information in mysql table AND storing the image in a BLOB
field in that tabl
In another thread [How do you protect individual files], Justin French stated:
"In real short, you want to store the files outside your htdocs root (so they
can't be served by http) . . ."
My PHP setup serves files from DOCUMENT_ROOT=/var/www/html. If I place files
in '/var/www/html/secure' wo
Soon, I will be transferring my site to go on-line with my IP. Since I've
never managed anything off-site, I have a very fundamental question:
What are the usual procedures with respect to maintaining a site, that is,
accessing the PostgreSQL database for corrections, deletions, etc?
One idea
Steve --
...and then Steve Mallett said...
%
% A plea for help
%
% Would anyone be willing to code the Halloween Documents so we could
% print them as PDF files
%
% http://opensource.org/halloween/
While I don't particularly see what this has to do with php, I also
wonder what sort o
Andre
Doc root = http://www.yoursite.com/
'/var/www/html/secure' = http://www.yoursite.com/secure/
So its not secure
You could use .htaccess files but I am not that clued up on them
John
- Original Message -
From: "Andre Dubuc" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesda
[snip]
In another thread [How do you protect individual files], Justin French
stated:
"In real short, you want to store the files outside your htdocs root (so
they
can't be served by http) . . ."
My PHP setup serves files from DOCUMENT_ROOT=/var/www/html. If I place files
in '/var/www/html/secur
"Outside" would be in '/var/www/secure' in your case. Or any other place
your scripts have access to, save under '/var/www/html/'.
HTH, Stas
- Original Message -
From: "Andre Dubuc" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, August 21, 2002 1:11 PM
Subject: [PHP] Simple
Are you sure you are editing the right httpd.conf file first of all? Put
an obvious syntax error in there, such as misspelling Directory in that
tag and see if you get an error.
If so, make sure that this block is not inside some other tag,
or overridden by a second block somewhere.
Third, ar
Hi everybody,
Is there any requirement to free variables in php, or is there any
garbage collection or built-in module that terminates unused variables?
(Especially for arrays and class instances)...
Have a nice day...
Vehbi Sinan Tunalioglu
--
PHP General Mailing List (http://www.php.net/)
> Hi everybody,
>
> Is there any requirement to free variables in php, or is there any
> garbage collection or built-in module that terminates unused variables?
> (Especially for arrays and class instances)...
Garbage collection is automatic in PHP. When you do:
$a = 123;
$a = 456;
Then the me
The answer I would give at this moment would be a variant of your A)
version where the hash directories would further contain directories
limited to, say 300 images. Found it out after a painfully slow
experience with MySQL blobs. I did not however implement this solution
yet (still using the
$test=array('a'=>1,'b'=>2,'c'=>3);
foreach ($test as $key=>$value)
{
if ($value==2) unset($test[$key]);
}
or
$test=array('a'=>1,'b'=>2,'c'=>3);
$i=0;
foreach ($test as $key=>$value)
{
if ($value==2) array_splice($test,$i,1);
$i++;
}
Op woensdag 21 augustus 2002 12:17, schr
Get this - it didn't work! :(
I tried decreasing the -1 to -2 and so on, but nothing on that either. :(
-Mike
> -Original Message-
> From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, August 20, 2002 12:45 PM
> To: Mike At Spy
> Cc: [EMAIL PROTECTED]
> Subject: Re: [P
"Andre Dubuc" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Soon, I will be transferring my site to go on-line with my IP. Since I've
> never managed anything off-site, I have a very fundamental question:
>
> What are the usual procedures with respect to main
Andre, et al --
...and then Andre Dubuc said...
%
% Soon, I will be transferring my site to go on-line with my IP. Since I've
% never managed anything off-site, I have a very fundamental question:
%
% What are the usual procedures with respect to maintaining a site, that is,
% accessing the P
where can i find a discription of the possible options for the "sting
format" in the fscanf command [ fscanf ( int handle, string format [,
string var1]) ]
For example, what means:
"%s\t
or
%s\n
in the command fscanf ($fp, "%s\t%s\t%s\n");
--
PHP General Mailing List (http://www.php
here's some info. in reading, keep in mind that PHP's implementation is
mostly ANSI compatible.
http://www.neosoft.com/neosoft/man/scanf.3.html
"Harry.De" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> where can i find a discription of the possible options fo
On Wednesday 21 August 2002 20:36, Mike At Spy wrote:
> Get this - it didn't work! :(
>
> I tried decreasing the -1 to -2 and so on, but nothing on that either. :(
Post your exact code which didn't work.
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems
Hi,
Wednesday, August 21, 2002, 9:32:43 PM, you wrote:
A> thanx tom, but this doen not seem to have anything to do with it.
A> Regards,
A> Andy
A> "Tom Rogers" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
A> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>> Hi,
>>
>> Wednesday, August 21, 2002,
Hi,
Wednesday, August 21, 2002, 10:53:48 PM, you wrote:
TR> Hi,
TR> Wednesday, August 21, 2002, 9:32:43 PM, you wrote:
A>> thanx tom, but this doen not seem to have anything to do with it.
A>> Regards,
A>> Andy
A>> "Tom Rogers" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
A>> [EMAIL PROTECTED
Here is the complete code - I have a lot of prints to watch things as they
happen. $whois is the result of a WHOIS search.
// beginning of my stuff
function get_date ($whois){
trim ($whois);
$whoisarray = explode ("\n", $whois);
print_r(array_values ($whoisarray));
$total_elements = count ($
I'm usually weeks, or month ahead of myself. The code I have in my local
environment is looking forward towards knew features, new ideas, etc etc.
Every week or two I grab a mirror of the online database (or I could connect
straight to it of course), and WHEN new code is ready to upload, I do it
I want to find a certain text in a string and i want it to return me a
boolean.
What is the best thing to do this?
a) ereg("search for this", $string);// returns
int(1) if true, bool(false) if not
b) strpos($nav->userAgent, "search for this") > 0// gives me a boole
on 21/08/02 9:45 PM, Scott Houseman ([EMAIL PROTECTED]) wrote:
> Which way would be the most efficient/fastest to access images from an image
> library.
> A) Store image files in a hash directory structure AND storing each file's
> information in a mysql table
> OR
> B) Storing image information
Even I would be very interested to know what every one out there
uses for these. I use PhpMyAdmin for creating tables. Textpad for
coding.
Jaski
On Wed, 21 Aug 2002 Michael Egan wrote :
>I know similar threads have come up on this in the past but I
>suspect it's a constantly changing picture.
If you can't store stuff ABOVE your doc root, you can protect them with a
.htaccess file.
I use this to refuse all *.inc files from being served:
Order Allow,Deny
Deny from all
With this in mind, a quick visit to the Apache site should get you started
in the right direction.
Justin
On Wednesday 21 August 2002 08:15 am, Jay Blanchard wrote:
> [snip]
> In another thread [How do you protect individual files], Justin French
> stated:
>
> "In real short, you want to store the files outside your htdocs root (so
> they
> can't be served by http) . . ."
>
> My PHP setup serves files
I use Zend Studio 2.5 it is very time saveing as it prompts me for variables
i have used before classws and function i have used before etc even if they
are in an include file. The projects feature is very usefull as I have two
major projects at the moment and I can easily switch between then and
Hi all.
This confirms what I suspected.
The hash algrithm:
I have a directory structure: dirs 0 - f, and within each of these, the same
dir structure 0 - f.
When an image gets uploaded into the library, do an md5sum of the file, take
the first 2 chars of that hash
and there's your path. e.g
$PI
I am a new person to PHP. I have purchased and read PHP fast & easy by
Julie Meloni and have also read the 24 hours PHP book. I am able to connect
to the SQL database and insert into the database via my html form. However,
the values are null. When I look at the data in my database, it reads "
[snip]
It's becoming clearer. But one question concerning:
"the path could be hacked, but if there is a requirement to login to that
folder (because of .htaccess directives) then the hacker will still have to
come up with appropriate authentication."
Since all sensitive files on my site require
Thanks Justin,
A web-based control panel & content management system seems like a nice
invitation to enter 'Hackers' Paradise'. I like the idea of doing it at home
and testing, as you do. Something inside of me squirms at the idea of the
whole shebang being tatooed by a hacker.
Regards,
Andre
I did something like this a while ago ... and while it might not be the best
solution - here's my situation and my solution:
I had a number of photos (just shy of 1000) ...
all were from various theatre shows ... taken at a different time of the
process (rehearsal ... performance etc).
So - I s
Can someone give me a URL for a php.net mirror? I am having trouble with
access...
Thanks!
Jay
***
* Texas PHP Developers Conf Spring 2003 *
* T Bar M Resort & Conference Center *
* New Braunfels, Tex
I've seen this kind of random approach several times and I keep
wondering why not counting the files instead. Yes, it may take a little
longer when uploading but I personally think the safety of the approach
is worth the insignificant speed sacrifice.
Bogdan
Scott Houseman wrote:
> Hi all.
>
Seems to be down - I can't reach it either.
Bogdan
Jay Blanchard wrote:
> Can someone give me a URL for a php.net mirror? I am having trouble with
> access...
>
> Thanks!
>
> Jay
>
> ***
> * Texas PHP Developers Conf Spring 2003
This is a query that I am sending to mysql. The problem is that sometimes in
the variable "$message" characters like ")" will get posted and when they do
it makes mysql die. I can only assume that mysql thinks that the ")" in the
$message variable is meant to close the sql query, but I am having t
If you don't need regexps, use strpos. Make sure you read the
documentation though - if $nav->userAgent starts with "search for this",
your code will return false.
Bogdan
José Jeria wrote:
> I want to find a certain text in a string and i want it to return me a
> boolean.
> What is the best th
http://uk.php.net
http://nl.php.net
Just checked them, and they are online
"Bogdan Stancescu" <[EMAIL PROTECTED]> schreef in bericht
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Seems to be down - I can't reach it either.
>
> Bogdan
>
> Jay Blanchard wrote:
> > Can someone give me a URL for a
Try this Jay,
http://us.php.net/mirrors.php
(A mirror PLUS a list of mirrors...)
- E
>
>Can someone give me a URL for a php.net mirror? I am having trouble with
>access...
>
>Thanks!
>
>Jay
>
>***
>* Texas PHP Developers Conf Spring 200
It's not the ")" characters, it's the quotes - make sure you
addslashes() to all the variables. Also make sure you don't double-slash
- depending on your php.ini settings, PHP may automatically slash
incoming variables.
Bogdan
Mike Fifield wrote:
> This is a query that I am sending to mysql.
[snip]
This is a query that I am sending to mysql. The problem is that sometimes in
the variable "$message" characters like ")" will get posted and when they do
it makes mysql die. I can only assume that mysql thinks that the ")" in the
$message variable is meant to close the sql query, but I am h
"Bogdan Stancescu" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> If you don't need regexps, use strpos. Make sure you read the
Can you give me any particular reason why strpos is better?
> documentation though - if $nav->userAgent starts with "search for thi
Well, do a strlen() on it to see how long it actually is. I bet you have
all sorts of stuff trailing that thing. Or you are just making some other
really silly mistake.
-Rasmus
On Wed, 21 Aug 2002, Mike At Spy wrote:
>
> Get this - it didn't work! :(
>
> I tried decreasing the -1 to -2 and s
Mike,
What are the character codes of the last few bytes in the string?
Please advise,
=dn
- Original Message -
From: "Mike At Spy" <[EMAIL PROTECTED]>
To: "Rasmus Lerdorf" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, August 21, 2002 1:36 PM
Subject: RE: [PHP] Agh! trim (#
Good day,
Well, for one, you are discarding the results of trim().
Check out the online manual page for trim(). The trim'ed string is
returned. It does not say it modifies the string it is passed.
Darren Gamble
Planner, Regional Services
Shaw Cablesystems GP
630 -
Scott (confirming Bogdan),
Libraries of all types have had this concern for years - even though books
are uniquely identified by ISBN, that is still not good enough for library
purposes (eg multiple copies of a single title). So they, exactly as Bogdan
suggests, use an "Accession" number sequence
José Jeria wrote:
> "Bogdan Stancescu" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
>>If you don't need regexps, use strpos. Make sure you read the
>
>
> Can you give me any particular reason why strpos is better?
http://php.weblogs.com/discuss/msgReader
Hi All,
I would like to exit from an include file and continue in the calling
script!
As an example
FILE A:
FILE B
#include "A";
TIA
Henry
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I finally was able to compile/install php with xslt extensions.
You have to apply the patch for Sablotron first then configure, make, su
make install then apply the php patch, configure, make, su make install
I applied the patches as follows:
patch
for more options do man patch
On Tue, 20
Hi there.
So what you are suggesting is using an AUTO_INCREMENT field, possibly the
image's Primary Key as an identifier
for that image file., which is fine by me, but surely one should store files
across directories, as 1 images
in a single directory might slow down access to those images in
Do:
FILE A:
Op woensdag 21 augustus 2002 16:39, schreef Henry:
> Hi All,
>
> I would like to exit from an include file and continue in the calling
> script!
>
> As an example
>
> FILE A:
>
> if (empty($_POST['search_criteria'))
> {
> echo "You must provide search criteria";
>
> // exit
But isn't taking off characters or spaces considered modifying a string?
I'll take another look at the manual, thanks.
-Mike
> -Original Message-
> From: Darren Gamble [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, August 21, 2002 10:32 AM
> To: 'Mike At Spy'; [EMAIL PROTECTED]
> Subje
Seems like the easy way, at least in this case, would be to make the
second part of your File A an "else" to your "if".
-Original Message-
> From: Henry [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, August 21, 2002 9:40 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Exiting from an includ
Good comments made by all, no doubts. Something said by Justin though, sticks out
above the rest.
I strongly recommend to everyone to never, EVER edit or manipulate LIVE code! I know
we're all good at what we do, but accidents happen (perhaps you didn't specify a WHERE
clause in your delete
Or just do a return();
mailto:[EMAIL PROTECTED]]
Sent: 21 August 2002 15:48
To: Henry; php-general
Subject: RE: [PHP] Exiting from an include or required file
Seems like the easy way, at least in this case, would be to make the second
part of your File A an "else" to your "if".
-Origina
Thanks, but my situation is slight more convoluted than I describe.
I want to cascade down through a include chain and want to just stop
processing the current include and return to the one which called it.
Similar to exit() but only for the local scope.
TIA
Henry
"Mark Roedel" <[EMAIL PROTECT
Thanks "return" thats it!
I hadn't appreciated that include was a function! I keep thinking like a
C/C++ programmer, must stop. Punishment is 8 lines of "include is not a
pre-processor directive".
include is not a pre-processor directive
include is not a pre-processor directive
include is not a
You will have to enclose the code is some form of a container.
i.e. a function, while loop...
I would probably use the function, then you could exit with return
The other types of container would use break.
- Original Message -
From: "Henry" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sen
Anyone ever seen this error before? What causes it? It happens on a call
to socket_bind after a successful call to socket_listen.
Any ideas would be appreciated.
Warning: socket_bind() unable to lookup host [1001]: Recursion too deep,
stack overflowed. in
f:\public\www\josiah\josiah2\consultat
Actually, M.A.Bond is right, you don't even have to enclose it, just use the
return construct.
- Original Message -
From: "Joseph W. Goff" <[EMAIL PROTECTED]>
To: "php-general" <[EMAIL PROTECTED]>; "Henry"
<[EMAIL PROTECTED]>
Sent: Wednesday, August 21, 2002 10:03 AM
Subject: Re: [PHP] Exi
On Wednesday 21 August 2002 10:54, Roger Lewis wrote:
> I did, but like I said, I couldn't find much. Maybe I wasn't using the
> correct key words. There is a lot about protecting php and html files but
> not much on other, non-php files in external directories. There is some
> discussion abo
On 21 Aug 2002 at 8:55, Michael Egan wrote:
> I know similar threads have come up on this in the past but I suspect
> it's a constantly changing picture.
>
> I recently saw a favourable review of Zend Studio 2.5 but wondered, out
> of curiosity, what sort of tools people use to develop PHP scrip
Is it just me having network connectivity problems, or is the PHP website,
http://www.php.net down? I tried connecting to it from a couple of
difference computers and I can't access it on any of them. Just wondering
if anyone else is having problems getting to their website too.
I know that *ahem* "theoretically" Active Directory uses LDAP... has anyone
had any luck getting PHP to talk to Active Directory?
Basically I'd like to fool around with a webpage for a corporate directory
based on AD entries... if anyone has had any luck with this, I'd appreciate
it :)))
As a
Hi Scott,
Yes I am suggesting the naming of the image file by ascending number (at
least in part - our Sony digicam produces files named DSCn.JPG). The
danger of generating a filename by hash is that collisions are always
possible. Moving to an 'accession number' removes that threat.
The cho
> Is it just me having network connectivity problems, or is the PHP website,
> http://www.php.net down? I tried connecting to it from a couple of
> difference computers and I can't access it on any of them. Just wondering
> if anyone else is having problems getting to their website too.
Adam,
[snip]
... but surely one should store files across directories, as 1 images in
a single directory might slow down access to those images in the filesystem,
or not so?
[/snip]
Not really. The server really does not care where the files are and no
performance would be lost.
Jay
*
Thanks! Silly me, I'm always forgetting about the mirror sites ;)
Adam
On Wed, 21 Aug 2002, DL Neil wrote:
> > Is it just me having network connectivity problems, or is the PHP website,
> > http://www.php.net down? I tried connecting to it from a couple of
> > differen
Hi,
Wednesday, August 21, 2002, 11:25:30 PM, you wrote:
n> I am a new person to PHP. I have purchased and read PHP fast & easy by
n> Julie Meloni and have also read the 24 hours PHP book. I am able to connect
n> to the SQL database and insert into the database via my html form. However,
n> the
Hi,
Wednesday, August 21, 2002, 11:22:36 PM, you wrote:
JJ> I want to find a certain text in a string and i want it to return me a
JJ> boolean.
JJ> What is the best thing to do this?
JJ> a) ereg("search for this", $string);// returns
JJ> int(1) if true, bool(false) if
It seemed to be down... Earlier in the morning I
had trouble getting onto it... Its alright now though,
it may have been traffic or some minor stuff...
Spike...
"Adam Williams" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Thanks! Silly me, I'm always forg
General advice:
take a look in the bottom right corner of any manual page and call for the
mirrors list - it's worth bookmarking/favoriting a couple, just in case one
goes down.
Also FYI, mirror sites are often faster (depending upon relative locations)
and their use certainly frees bandwidth at
On Thursday 22 August 2002 00:35, Jay Blanchard wrote:
> [snip]
> ... but surely one should store files across directories, as 1 images
> in a single directory might slow down access to those images in the
> filesystem, or not so?
> [/snip]
>
> Not really. The server really does not care where
> Having a large number of files in a single directory does affect
performance,
> the degree of which depends on the filesystem.
This is generally accepted wisdom for dealing with large numbers of files -
but what number is considered "large"?
Any rules of thumb, for different OpSys/file systems
> -Original Message-
> From: Glenn Sieb [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, August 21, 2002 11:30 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] PHP and Windows Active Directory...
>
>
> I know that *ahem* "theoretically" Active Directory uses
> LDAP... has anyone had any luck g
Lots of good ideas.
One other thing to consider when designing this is the possibility of
multiple web server accessing a single database server.
If you use the file system method which assumes that the web/db are on the
same server as soon as you want to have multiple web servers you'll run
int
[snip]
> Having a large number of files in a single directory does affect
performance,
> the degree of which depends on the filesystem.
This is generally accepted wisdom for dealing with large numbers of files -
but what number is considered "large"?
Any rules of thumb, for different OpSys/file s
Here is the code per your request
mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 21, 2002 9:42 AM
To: David Buerer
Subject: Re: [PHP] unable to lookup host [1001] error
Show the code and we might be able to help better...
maybe line 20-35 ish, or anything you feel useful
thx
Andrew
- Or
I have two server. One running PHP/Linux the other running ASP/2000.
The user logins into the PHP server and session variables are made to hold
their username, password, department, etc.. The site from time to time
redirect the user to the ASP server. I want to pass the session variable
across
Just suggestion but why not use md5($password) and then send the result of
that in your GET?
Adam
On Wed, 21 Aug 2002, Mark McCulligh wrote:
> I have two server. One running PHP/Linux the other running ASP/2000.
> The user logins into the PHP server and session variable
I thought about encrypting the whole querystring then decrypting it on the
other server, but I wanted to keep the address bar clean. I wanted the user
not to know they just got passed. If all a sudden there was a lot of data
in the address bar they will wonder what it is for.
Mark.
Hi !!
I know you said you cont want to use cookies ... I suggest that place
encrypted data in a cookie and in the win2000 machine place a php script
that read the data in the cookie, uncryptit and some how set the info
for the asp script, a plain text file or something ...
I hope this is useful
[snip]
I thought about encrypting the whole querystring then decrypting it on the
other server, but I wanted to keep the address bar clean. I wanted the user
not to know they just got passed. If all a sudden there was a lot of data
in the address bar they will wonder what it is for.
[/snip]
How
I have a calendar application that shows events in a month. I want to add the ability
to have re-occuring events. I've been thinking about how to do that, but it's not
seeming to be too easy.
Say, I have a table of re-occuring events:
eventId int
eventName varchar
eventStartDate date
eventE
MD5 is a one-way hash. There is no way to get information back out of it.
If he keeps a copy of the hash locally to comare instead of the original
password, this is still as vulnerable as using the original password in this
case. The only thing it would protect from is making available the origi
Is there any reason to pass the data to the ASP server other than the need
for the ASP server to pass it back in case the PHP server session has
expired? If not, why not just store the login information in a local table
referencable by a primary key that you pass around instead? You could even
d
Can somebody tell me what this mines in my error log
I have PostgreSQL compiled in to php so that should not be the problem
PHP Warning: Function registration failed - duplicate name - pg_connect in Unknown on
line 0
PHP Warning: Function registration failed - duplicate name - pg_pconnect in
it seems to be just your network, me and a couple of friends on differnt
networks were just talking about that place :) works fine for us!
-Sami
"Adam Williams" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Is it just me having network connectivity problems,
1 - 100 of 186 matches
Mail list logo