Hello,
I want to use SSL for authenting and Session management purpose.
I have apache running SSL successfully. Now i want to use PHP for this
purpose.
How do i do that ???
Please explain in detail.
Thanks in advance
Vinay
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
Matthew Loff pressed the little lettered thingies in this order...
>
> I realize this is off-topic a bit... I also use MySQL for all
> database-related projects...
>
> Does anyone have any comments on benchmarks of the new beta of
> PostgreSQL vs. MySQL? Postgres appears staggeringly faster i
Inércia Sensorial pressed the little lettered thingies in this order...
> I am sorry, maybe going a little off-message here, but what would do you
> mean by eliminate 'table-scans'?
>
> --
What is typically referred to as a "table scan" is any operation that
requires scanning of the entire t
> On 14-Jul-01 hassan el forkani wrote:
> > there should not be any problem if your web server is configured to parse
> > .inc extentions as PHP, in wich case, even if the file is called
> > separately, the server will strip php tags and send normal html output.
> >
>
> Enough already.
> Whom sho
>
> Ain't no such critter as a page break in html, but you can let the browser
> help out.
True. But, there is one in XML.
You can use XML to insert PRINTABLE page breaks in your documents. That
is, you can specify where a page ends, and a new one begins, when the web
doc is sent to the printe
how can you hate foo.inc?
- Original Message -
From: "Don Read" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 13, 2001 10:39 PM
Subject: Re: [PHP] how to hide dbconnect file if its in published directo
>
> On 14-Jul-01 hassan el forkani wrote:
> > there should not be any
Is it possible that your database is ot updating
immediately but on a delayed basis..some databases can
be set to update on a delayed or immediate basis. If
the update varaiables are derived from the database
then these will not be updated as well and the
redirect will go thru, unless you put in
On 13-Jul-01 Jeff Hill wrote:
> Don Read wrote:
>> On 13-Jul-01 Jeff Hill wrote:
>> > Don Read wrote:
>> >> On 13-Jul-01 Jeff Hill wrote:
>> >> > I've tried everything I can to pipe a string with mime content to
>> >> > metamail, but it fails in every variation of:
>> >> >
>> >> > exec("echo $mim
> there should not be any problem if your web server is configured to parse
> .inc extentions as PHP, in wich case, even if the file is called
> separately, the server will strip php tags and send normal html output.
Once again, don't do this.
If you write your .inc files assuming they are going
On 14-Jul-01 hassan el forkani wrote:
> there should not be any problem if your web server is configured to parse
> .inc extentions as PHP, in wich case, even if the file is called
> separately, the server will strip php tags and send normal html output.
>
Enough already.
Whom should we flog
On Sat, 14 Jul 2001, Dave Freeman wrote:
> On 13 Jul 01, at 21:47, Inércia Sensorial wrote:
>
> > Maybe a pop-up or a CSS/javascript box with a 'true delete' link (That
> > would be elegant :-)).
>
> Yep, that's what I'm planning on - got any references on actually doing it?
> I'm still learn
there should not be any problem if your web server is configured to parse
.inc extentions as PHP, in wich case, even if the file is called
separately, the server will strip php tags and send normal html output.
regards
At 00:11 10/07/01, Noah Spitzer-Williams wrote:
>Hey guys,
>
> I come
On 13 Jul 01, at 21:47, Inércia Sensorial wrote:
> Maybe a pop-up or a CSS/javascript box with a 'true delete' link (That
> would be elegant :-)).
Yep, that's what I'm planning on - got any references on actually doing it?
I'm still learning about this sort of stuff and it really helps to see
I either needed to add c:\php\dlls to my path or i had to copy libsasl.dll
into c:\winnt\system32 in order for my extensions to work. My extension dir
looked like this:
; Directory in which the loadable extensions (modules) reside.
extension_dir = c:\php\extensions\
now gd and ldap show up when
Is it possible to copy a file to a dynamically created directory?
Does anyone know how to put text onto multiple images with only one
input? I want to generate images for javascript rollovers.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For addit
I am sorry, maybe going a little off-message here, but what would do you
mean by eliminate 'table-scans'?
--
Julio Nobrega.
You're asking me will my love grow, I don't know.
"Christopher Ostmo" <[EMAIL PROTECTED]> wrote in message
news:3B4F343A.18504.2376C59B@localhost...
> As Rasmus stated
Maybe a pop-up or a CSS/javascript box with a 'true delete' link (That
would be elegant :-)).
--
Julio Nobrega.
You're asking me will my love grow, I don't know.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
Thanks. c:\temp took care of it. now if i can only get the extensions to
work.
-Original Message-
From: Inércia Sensorial [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 13, 2001 4:39 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Error Message with sessoin variables.
Windows plataform?
Butler, Shaun pressed the little lettered thingies in this order...
> check out the crypt() function
>
> http://www.php.net/manual/en/function.crypt.php
>
> if you don't care about decrypting the password this works fine.
>
> --Shaun
>
Umm... You've misunderstood something. The reason why y
Hi All
I'm really not sure if this is php or, perhaps, javascript.
I have a php application in development. On one page I have a list of
information extracted from a mysql database. I have links beside each
line to edit or delete that informaiton (which calls a php function to carry
out the
www.php.net/popen ? ... or am I missing something?
On Fri, Jul 13, 2001 at 07:52:51PM -0400, Jeff Hill wrote:
> Don Read wrote:
> > On 13-Jul-01 Jeff Hill wrote:
> > > Don Read wrote:
> > >> On 13-Jul-01 Jeff Hill wrote:
> > >> > I've tried everything I can to pipe a string with mime content to
>
I'm not sure of any open source projects that match what you're asking for,
but I still recommend PHP.
I get the impression that you are new to programming. If so, I do recommend
PHP. At least in my case, PHP came easier than Perl or Python, probably
because PHP is primarily designed for use on t
Don Read wrote:
> On 13-Jul-01 Jeff Hill wrote:
> > Don Read wrote:
> >> On 13-Jul-01 Jeff Hill wrote:
> >> > I've tried everything I can to pipe a string with mime content to
> >> > metamail, but it fails in every variation of:
> >> >
> >> > exec("echo $mime_string | /usr/bin/metamail -d -q -r -w
Windows plataform? I was getting this error and solved by creating a dir
named 'tmp', so create:
c:\tmp
That's where the session files will be stored... I think it's configurable
in php.ini.
--
Julio Nobrega.
You're asking me will my love grow, I don't know.
"Johnny Nguyen" <[EMAIL PRO
From the html 4.1 manual (only saying this cause I don't know if it will
work on agents that only support previous html versions)...
Reset
--
Julio Nobrega.
You're asking me will my love grow, I don't know.
"Brandon Orther" <[EMAIL PROTECTED]> wrote in message
01aa01c10be5$5d32ef40$5a52a04
Hello,
I'm trying to get around a database problem that I'm having in which multiple
authors are producing (almost - the authors are listed as different) duplicate
returns within a bibliography.
What I've done is query the database and produce a list of duplicates using
something like this (t
Excellent tip, Hank! I didn't know SSH tunneling was that easy, I
haven't had the necessity to use SSH at all yet.
-Original Message-
From: Hank Marquardt [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 13, 2001 6:42 PM
To: Egan
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Passwords and SS
Hello we have read through the FAQ's:
and so forth as directed when joining
and still need an answer to the following.
Background:
We are wanting to redesign a members area on our website, we thought using
PHP/MySQL. We want the members to be able to join (sign-in) and complete
course material
Works just fine ... as does postgres --
ssh -N -2 -f -C -c blowfish -L3306:yourdatabase.server.here:3306
[EMAIL PROTECTED]
or the other usual tricks work too ... like going through a firewall (fyi ... clear
text on the *other* side of the firewall):
ssh -N -2 -f -C -c blowfish -L3306:db_behind
On Fri, 13 Jul 2001 12:28:37 -0400, "Matthew Loff" <[EMAIL PROTECTED]>
wrote:
>> Does mysql-front encrypt the password before it travels the net?
>It does support the compressed client/server protocol, which would make
>it harder to intercept-- but encryption is not an option yet on the
>client.
I've got the following lines in my php.ini in my C:\WinNT dir.
;
; Paths and Directories ;
;
include_path= ; UNIX: "/path1:/path2" Windows:
"\path1;\path2"
doc_root= ; the root of the php
I'm running into this really odd, seemingly illogical problem:
Background:
This is an on-line course made up of lots of pages, some have forms, some
don't. The pages which have forms all submit to single php script (called
submit.php) which processes the submitted form, placing the submitted
On Fri, 13 Jul 2001 14:46:41 -0700, Brandon Orther
([EMAIL PROTECTED]) wrote:
>Hello,
>
>I am making a script at the moment and want to use images instead of
>the
>usual buttons. Does anyone know how I can use the image as a reset
>button?
>Thank you,
>
>--
Nothing wrong with MySQL. My comment was not specific to any particular
database. It was just a general comment that any database-backed web site
will have the database as the bottleneck and any little optimizations you
try to do at the scripting level is not going to matter much in the
grander
A quick search on the web found that you have to output some javascript to
handle that
take a look at http://www.idocs.com/tags/forms/index_famsupp_142.html
(Caveat: I only found the information by going to google and searching on
"html image reset button" I have not studied it, or tried it.
Aside from doing 2 tricky... well... tricks. You can't.. Standard HTML (to
my knowledge) does not support the ability to have a reset button be set to
an image. only those large gray Cadillac sized hideous buttons.
Now, with that said.. there are 2 ways you can do it. ;-)
Client Side - If you us
It all depends on your application, the use it receives, your server
hardware (mainly RAM), and your MySQL/PHP configurations.
For 90% of web applications, and 90% of the loads they receive, any
confiuguration of MySQL would be fine. But describe your scenario and we
should be able to let you kno
Is that to say that mySQL is not a good choice in this situation?
If you would be so kind. Why would mySQL be the bottleneck and why PHP
would not?
Regards.
Yves
Rasmus Lerdorf wrote:
> Should be fine. Chances are your bottleneck will be your database, not
> PHP.
>
> -Rasmus
>
> On Fri,
Should be fine, but if your main script is HUGE, say, 1MB (hey, it's
possible, if all HTML was inline :-) then you should consider breaking it up
to seperate files and include()'ing them. Require() is just as bad as having
them inline, in terms of memory usage, but include() replaces them only if
Is that to say that mySQL is not a good choice in this situation?
If you would be so kind. Why would mySQL be the bottleneck and why PHP
would not?
Regards.
Yves
Rasmus Lerdorf wrote:
> Should be fine. Chances are your bottleneck will be your database, not
> PHP.
>
> -Rasmus
>
> On Fri,
Hello,
I am making a script at the moment and want to use images instead of the
usual buttons. Does anyone know how I can use the image as a reset
button?
Thank you,
Brandon Orther
WebIntellects Design/Development Manager
[EMAIL PROTECTED]
800-994-6
I place at the top of my page and get this
Warning: open(/tmp\sess_4821f31846678b2eda49a625b76ca14c, O_RDWR) failed: m
(2) in w:\apache\loginform.php on line 1
Can somebody help? Do I need to make any changes to php.ini to get sessions
working?
Regards,
Johnny
--
PHP General Mailing List (htt
I do this on several large high-traffic sites, as part of a
content-management system, and it works fine. If you also use a script
cache product (Zend Cache or APC) and a cacheing template engine (cough,
cough) together in this kind of environment, you should see excellent
results, with the data
Should be fine. Chances are your bottleneck will be your database, not
PHP.
-Rasmus
On Fri, 13 Jul 2001, Yves Gauvreau wrote:
> Hi,
>
> The question is this: Say I have a large main script that handles most
> of the request if not all, I wonder what are the effect of this approach
> on perform
Hi,
The question is this: Say I have a large main script that handles most
of the request if not all, I wonder what are the effect of this approach
on performance in a situation where we have a fair number of concurrent
users?
Situation:
Server:
P4 1300, Linux (RH 7.1), Apache, MOD_PHP, myS
> Does anyone else have any thoughts on this?
error_reporting = E_ALL
in your php.ini file and PHP will warn you whenever you use an unitialized
variable.
-Rasmus
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMA
I hope you all enjoy this as much as I did.
Lara
Subject: How to unsubscribe from the list. :)
You see, all of those "to unsubscribe, do this." instructions at the
bottom of the emails sent through this list are wrong. We only put those
there to confuse everyone so that they will never leave
Jorge,
I pieced together a way to do this from other suggestions I found on the
mailing list and elsewhere. This is more of a trick to get Excel to think
it has an Excel file, but it doesn't truly generate an Excel file.
Thanks to Excel versions 97 and up (don't recall 95) havin
> -Original Message-
> From: Matthew Aznoe [mailto:[EMAIL PROTECTED]]
> Subject: [PHP] Variable name declarations?
>
> However, I do have one complaint about PHP that seems to have a tendency to
> bite me far too often, and that is the lack of variable declaration. While
> I do not thi
./configure --with-apxs=/usr/local/apache/bin/apxs --with-mysql=/usr/local/m
ysql/ --with-imap --enable-versioning --enable-ttrack-vars --with-ldap --ena
ble-gd=../gd-1.8.4 --with-png=../libpng-1.0.11 --with-jpg=../jpeg-6b --with-
zlib-dir=../zlib-1.1.3
this is my configuration line.. i dont get
On 13-Jul-01 Jeff Hill wrote:
> Don Read wrote:
>> On 13-Jul-01 Jeff Hill wrote:
>> > I've tried everything I can to pipe a string with mime content to
>> > metamail, but it fails in every variation of:
>> >
>> > exec("echo $mime_string | /usr/bin/metamail -d -q -r -w -x -y ",
>> > $met_res) ;
>>
i've tryed --with-imap-ssl in my configure line and i got this..
.
checking for SSL support in IMAP... yes
configure: error: This c-client library does not support SSL. Recompile or
remove --with-imap-ssl from configure line.
su-2.05#
what needs to be done in order to make it work?
--
PHP
Hi Matthew,
Set your error_reporting level to E_ALL. The parser will then report the use
of undeclared variables.
--zak
- Original Message -
From: "Matthew Aznoe" <[EMAIL PROTECTED]>
To: "php" <[EMAIL PROTECTED]>
Sent: Friday, July 13, 2001 2:22 PM
Subject: [PHP] Variable name declarat
I have to agree that strong typing is not a good fit with PHP. It really
limits the flexibility of the language that is, at least to me, one it its
strongest appeals. Often, strong typing can be overly restrictive, and free
typing, when combined with good comments and documentation which shoul
check out the crypt() function
http://www.php.net/manual/en/function.crypt.php
if you don't care about decrypting the password this works fine.
--Shaun
On Friday 13 July 2001 15:26, Johnson, Kirk wrote:
> One approach to password security is to put the passwords in a file outside
> Document Ro
Don Read wrote:
> On 13-Jul-01 Jeff Hill wrote:
> > I've tried everything I can to pipe a string with mime content to
> > metamail, but it fails in every variation of:
> >
> > exec("echo $mime_string | /usr/bin/metamail -d -q -r -w -x -y ",
> > $met_res) ;
>
> what about "/bin/echo ..."
Nope, b
On 13-Jul-01 Tom Malone wrote:
> Call me stupid, because this may be a stupid question, but I have searched
> all over for the answer and cannot find it.
>
> How can you get the username and password from HTTP_AUTH_USER or another
> environment variable in PHP? I need to determine who is logging
One approach to password security is to put the passwords in a file outside
Document Root, then include that file in your scripts when you need a
password.
Kirk
> -Original Message-
> From: Adrian Teasdale [mailto:[EMAIL PROTECTED]]
> Sent: Friday, July 13, 2001 1:10 PM
> To: [EMAIL PROT
`
On 13-Jul-01 Jeff Hill wrote:
> I've tried everything I can to pipe a string with mime content to
> metamail, but it fails in every variation of:
>
> exec("echo $mime_string | /usr/bin/metamail -d -q -r -w -x -y ",
> $met_res) ;
>
what about "/bin/echo ..."
Regards,
--
Don Read
Call me stupid, because this may be a stupid question, but I have searched
all over for the answer and cannot find it.
How can you get the username and password from HTTP_AUTH_USER or another
environment variable in PHP? I need to determine who is logging in so I can
connect to the correct databa
Hi,
Does anybody knows how can I convert from a Paradox DB
to mysql ? I've searched freshmeat.net but pxtools
gives me core dump and unixODBC seems to be "just" the
driver (i.e I'd have to write a convertion tool).
Thanks.
__
Do You Yahoo!?
Get p
Hmm, I tried it, and my excel 2k could not read it either. I even change the
echo to fwrite, and delete all the headers. What did you do to your source
code? just copy it or did you modify it?
Could you possibly send it to me off list?
Thanks
Reuben D. Budiardja
On Friday 13 July 2001 01:36 pm
Hi all
Encryption is not something that I have had dealings in with PHP. I have a
potential client who wants to have customer account information (8000
records) stored on the internet (minus credit card information) and I was
wondering what options I have for encryption. My concern is that by s
Hi Chad,
You can follow my example at:
http://www.nirvani.net/software/image_create/
Hope this helps.
Jeremy Brand
Jeremy Brand :: Sr. Software Engineer :: +393485323988 :: [EMAIL PROTECTED]
http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html for more
- - - - - - - - - - - - - - - - - - -
I'll bet it did! Sorry, nothing unusual here, good luck.
> -Original Message-
> From: scott [gts] [mailto:[EMAIL PROTECTED]]
> Sent: Friday, July 13, 2001 12:50 PM
> To: php
> Subject: RE: [PHP] peculiar behaviour of large integers with
> "<" and ">"
>
>
> i guess you've got a more rec
Sheridan,
I didn't test this in PHP, I'm more familiar with the Perl Regex, but this
might work for you, play with it:
/mailto:[EMAIL PROTECTED]]
Sent: Friday, July 13, 2001 9:04 AM
To: [EMAIL PROTECTED]
Subject:[PHP] Regex Help
I am trying to write a script that needs a list of a
I have two CGI PHP installation on my Linux system. One of them is
a vanilla build (all defaults except --prefix and
--with-config-file-path, and the other is built with the .spec file
from rpms.arvin.dk).
POST method does not work with the arvin PHP CGI binary, while it
works ok with the vanilla
i guess you've got a more recent version of PHP than i do...
For me, it prints out "This is printed" but not
"This is not printed", which made my eyebrows touch the
ceiling when i first saw that...
> -Original Message-
> From: Johnson, Kirk [mailto:[EMAIL PROTECTED]]
> Sent: Friday, J
I've tried everything I can to pipe a string with mime content to
metamail, but it fails in every variation of:
exec("echo $mime_string | /usr/bin/metamail -d -q -r -w -x -y ",
$met_res) ;
I can successfully write the mime string to a tmp file, and then:
exec(" cat /tmp/mime_mail | /usr
You should be able to do exactly what you want, I do this myself. I am
wondering if you are hitting a bug that is present in PHP in versions prior
to 4.0.6, where $someflag and$HTTP_SESSION_VARS["someflag"] do not reference
the same value. Try changing two lines in your code to read as below,
inst
I am running 4.0.6. Nothing prints to the screen using a cut and paste of
the code below.
> -Original Message-
> From: scott [gts] [mailto:[EMAIL PROTECTED]]
> Sent: Friday, July 13, 2001 12:25 PM
> To: php
> Subject: RE: [PHP] peculiar behaviour of large integers with
> "<" and ">"
>
>
Interesting... I have excel2k, and it worked fine for me... The only thing i
can think of is maybe some extra garbage you get when it generates the
file... maybe headers?
--
Aaron Bennett
[EMAIL PROTECTED]
- Original Message -
From: "Boget, Chris" <[EMAIL PROTECTED]>
To: "'Brady Hegberg'"
I've done this on other platforms ASP,Cold Fusion, but I need to know what's
the best way to do it on PHP.
1. grab username and password from POST vars.
2. select count(*) from users where username = '$username' and
password='$password'... something along these lines
3. if that user exists and pa
after reading thru the PHP site some more, i found a little
note mentioning a problem with the way negative integers are
handled in v4.0.6...
what version are you using?
what do you see when you run this code?
if (5 < -2147483647) {
print "This is printed.";
}
if (5 < -214748364) {
print "This
> Here's something I found on the PHP Code Exchange:
> Generate Excel files from PHP by Christian Novak on
> 2000-11-25 11:47:24 (v for 4.0) is 1974 bytes.
> Small function library to generate Excel files/stream
> directly from PHP.
> http://px.sklar.com/code.html?code_id=488
> I haven't tried i
I get nothing unusual
Kirk
> -Original Message-
> From: scott [gts] [mailto:[EMAIL PROTECTED]]
> Sent: Friday, July 13, 2001 12:08 PM
> To: php
> Subject: [PHP] peculiar behaviour of large integers with "<" and ">"
>
>
> Has anyone come across this before?
>
> // compare 5 to th
Here's something I found on the PHP Code Exchange:
Generate Excel files from PHP by Christian Novak on 2000-11-25 11:47:24
(v for 4.0) is 1974 bytes.
Small function library to generate Excel files/stream directly from PHP.
http://px.sklar.com/code.html?code_id=488
I haven't tried it out...it do
Has anyone come across this before?
// compare 5 to the max value of an integer
if (5 < -2147483647) {
print "This is";
}
// knock a digit off the max and compare again
if (5 < -214748364) {
print "weird";
}
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL P
Never mind that last message,
It is The Exchange Project
http://theexchangeproject.org/catalog/default.php?
Jerry Lake
Interface Engineering Technician
Europa Communications - http://www.europa.com
Pacifier Online - http://www.pacifier.com
-Original Message-
From: [EMAIL PROTECTED]
Actually is is TEP at www.theexchangeproject.org
JG
- Original Message -
From: "Jerry Lake" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 13, 2001 2:02 PM
Subject: RE: [PHP] which php shopping cart is this?
> I think that is opencart, or openshop something
> like that.
I think that is opencart, or openshop something
like that. I ran across it at www.hotscripts.com
a while back.
Jerry Lake
Interface Engineering Technician
Europa Communications - http://www.europa.com
Pacifier Online - http://www.pacifier.com
-Original Message-
From: [EMAIL PROTECTE
You should ask them! My guess is phpshop??
py
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 13, 2001 6:46 PM
Subject: [PHP] which php shopping cart is this?
> Greetings!
>
> Which php-based shopping cart is being used at this site?
> http:/
Im using PHP 4.0.6 install on Solaris x86 with mysql 3.23.39. The following code
causes mysql_query to return false, but the
database update works!
$query .= "WHERE User_Name = '$User_Name[$i]'" ;
$sth = mysql_query($query) or die ("ERROR: Update Query Failed$query") ;
if ($verbose) {
I was going to suggest this too.
I like doing any sort of transactions or complex business logic using
components whether they be servlets, com objects, etc.
I would take advantage of the ability to integrate different technologies.
Also, it helps using a compiled language for the bus logic, bec
I'm trying to connect up w/ an Access database one of our db administrators
set up.
The Access file has an "adp" extension...the data is housed in a view,
(essentially a read-only dump of some MS SQL Server tables).
I've set up the file as a System DSN in ODBC (WinNT)
When I issue the following
Greetings!
Which php-based shopping cart is being used at this site?
http://shop.t-shirtoutlet.com/catalog/
Thanks!
Max Pyziur BRAMA - Gateway Ukraine
[EMAIL PROTECTED] http://www.brama.com/
--
PHP General Mailing List (h
you're passing the PHPSESSID incorrectly, it seems
you must do something like this:
or
header("Location: nextpage.php?$SID");
what you're doing now will go to page "input.php?=SID"
instead of "input.php?938sa9fa98f7daf987a9s" (or similar)
> -Original Message-
> From: David Allen [
be *extremely* careful. eval() is like spawning another PHP
interpreter... it'll execute *any* code that you give it.
people could type in unlink(); and such commands and really
trash your webserver.
> -Original Message-
> From: Philip Hallstrom [mailto:[EMAIL PROTECTED]]
> Subject: [PH
stat()
> -Original Message-
> From: Randy Johnson [mailto:[EMAIL PROTECTED]]
> Sent: Friday, July 13, 2001 4:09 PM
> To: scott [gts]; php
> Subject: RE: [PHP] forms and IP numbers
>
>
> I would like to pull the date and time of the creation of a file via a php
> script and compare it to
How do you deal with numeric fields which start with 0 ?
Excel takes the 0s out.
Thanks,
Marius Andreiana
--
You don't have to go to jail for helping your neighbour
http://www.gnu.org/philosophy/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
F
Instead of the comma-separated suggestions mentioned in other posts, I'd
recommend using a tab-separated file so that you don't have any confusion
for entries such as addresses that might look like "Seattle, WA". The
other reason is that it's *really* hard to enter a TAB in an HTML form so
it's j
Take a look at the eval() function.
On Fri, 13 Jul 2001, Christodoulou Demetris wrote:
> Hi list.
> I have string variables that contain mathematical expressions. These
> strings are submitted through forms.
> For example if a user inserts the following-> 1+cos(0.3)*x into a text field
> with
I would like to pull the date and time of the creation of a file via a php
script and compare it to the current time.
How do I do this?
TIA
Randy
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To
no offense, but that's a bad kludge for the problem.
however, if you really want to do that, you could try
checking $SERVER_NAME and $HTTP_REFERER and other
enviornment variables like that...
what would be easier (and better practise) to do is to
verify that the incoming username is valid...
like you said... as long as the database provider accepts
connections from outside, you can administer it from anywhere.
if the provider doesn't accept incoming connections, no amount
of tools and software will work for you.
> -Original Message-
> From: Alexander Skwar [mailto:[EMAIL PRO
Dump to file as comma separated and then load into Excel. Excel reads comma
separated files. In the file open dialog you can select file type to be .txt
(csv).
If you want to be really sick then you can set up an ODBC connection to a
comma separated file and then use MSQuery inside Excel.
Anothe
You could try writing the data out to a comma seperated file, and then offer
the file for download. Excel understands these files, and they are
plaintext, therefore easy to create.
Jason Bell
"Jorge Alvarez" <[EMAIL PROTECTED]> wrote in message
news:<[EMAIL PROTECTED]>...
> One of my clients is
Easiest way is to export the data into comma-delimited format. (.csv
files) Excel can import those no problem.
So, you would write a php function that created a simple text file that
looked like:
Fieldname1,fieldname2,fieldname3
Data1,data2,data3
Etc.
And excel can open that kind of file right
Thank you - that did the trick! The php.ini file WAS in the wrong
folder. Too bad the ./configure command doesn't know where to put it!
Ralph Guzman wrote:
>
> Are you sure you have the php.ini file in the right directory? When looking
> at phpinfo() make sure php.ini is located where the "Confi
Hi all,
I am having a knightmare trying to get some PHP into the output of
a Perl script. PHP. I've heard rumours of Apache 2.0 allowing multiple
filters, which would be perfect when it's out, but not yet obviously.
I've tried calling the CGI PHP from inside Perl in a few ways:
==
#!/usr/bi
1 - 100 of 157 matches
Mail list logo