Go to http://uptime.netcraft.com/ . That should give you part of the
information you want.
Ian wrote:
> Does anybody know that any web site allow me to enter web address example,
> www.yahoo.com, and enter go.
>
> The result will shown me that yahoo server,
> 1. Operating System?
> 2. Programmin
Does anybody know that any web site allow me to enter web address example,
www.yahoo.com, and enter go.
The result will shown me that yahoo server,
1. Operating System?
2. Programming?
3. Database?
etc
Thanks in advance.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
nevermind ^^ i am jsut going to have posts that go from top to bottom oldest
to newest
--
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]
adaniel Thu Mar 22 22:24:07 2001 EDT
Modified files:
/php4/pear/HTML Select.php
Log:
forgot the license header
Index: php4/pear/HTML/Select.php
diff -u php4/pear/HTML/Select.php:1.1 php4/pear/HTML/Select.php:1.2
--- php4/pear/HTML/Select.php:1.1 Thu M
adaniel Thu Mar 22 22:18:12 2001 EDT
Added files:
/php4/pear/HTML Select.php
Log:
original commit. Basic html select loaded manually, from a DB result, or an array
Index: php4/pear/HTML/Select.php
+++ php4/pear/HTML/Select.php
* @version 1.0
* @
Hi all,
First I had a problem that text from a textarea form object passed to mail()
ended up as a single line of text in MS Outlook.
I changed the newlines to newlines _with_ carriage returns:
strtr($mailbody, "\n", "\r\n");
Now it's not a single line of text but every newline skips an extra li
On Wed, 13 Dec 2000 15:49, JCampbell wrote:
> Thank you all for your help earlier!
>
> Now I need to know if it is possible to create a complex if statement?
>
> if ($variable=="duck") || ($variable=="goose"){ }else{ }
>
> Is how I thought it would work. I just need to know if there is an easy
> w
how would that look on a code view? i plan to write the variable $message on
top of the existing data
""hi"" <[EMAIL PROTECTED]> wrote in message
99ektl$gf0$[EMAIL PROTECTED]">news:99ektl$gf0$[EMAIL PROTECTED]...
> Don't even bother with that previous answer. You have what you want to
> write in
Thank you all for your help earlier!
Now I need to know if it is possible to create a complex if statement?
if ($variable=="duck") || ($variable=="goose"){ }else{ }
Is how I thought it would work. I just need to know if there is an easy way
to do an OR in if statements IF variable equals duck o
WRONG!!
--
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]
svanegmond Thu Mar 22 20:56:51 2001 EDT
Modified files:
/php4 configure.in
Log:
Added configuration for detecting the BeOS thread implementation
(which will be used once I get my patches into Zend to use bthreads).
Also, a check for a library di
Don't even bother with that previous answer. You have what you want to
write in a string, $new. Read the file and put that into another string,
$previous. Then concatenate the strings with the "." operator:
$previous=$new . $previous
and write $previous to the file.
--
PHP General Mailin
php-general Digest 23 Mar 2001 04:46:34 - Issue 583
Topics (messages 45137 through 45244):
Directory rights: Create and delete is possible but not ccggrp, why?
45137 by: Dominique Paquin
45139 by: Keith Vance
45146 by: Dominique Paquin
Freshmeat Ad?
45138 by
I'm using PHP4.0.4pl1 and t1lib.1.1.0
I'm getting this warning with imagepstext on some of my scripts (not
all), but everything prints fine. I only saw it because I commented out
the jpeg header line. Has anyone seen this?
Thanks,
JR
--
PHP General Mailing List (http://www.php.net/)
To unsubs
svanegmond Thu Mar 22 20:36:29 2001 EDT
Modified files:
/php4/ext/standard microtime.c
Log:
Simple patch to deal with lack of fields in the BeOS implementation of rusage.
Index: php4/ext/standard/microtime.c
diff -u php4/ext/standard/microtime.c:1.2
On Fri, 23 Mar 2001 14:18, Randy Johnson wrote:
> In PHP how do I make it so a script cannot be called from somewhere
> else other than from my server.
>
> Example
>
> http://domain.com/mail.php is my mail script that is called by
> http://domain.com/signup.html
>
> How do I make it so
>
> http:
check HTTP_REFERER. If it's not your server. toss it. It's not the most
secure way but check the page, there are other variables you can use to
accomplish the same thing.
http://www.php.net/manual/en/language.variables.predefined.php
Cal
http://www.calevans.com
-Original Message-
Fro
In PHP how do I make it so a script cannot be called from somewhere else
other than from my server.
Example
http://domain.com/mail.php is my mail script that is called by
http://domain.com/signup.html
How do I make it so
http://somebodyelsesdomain.com/signup.html cannot call the mail.php scr
On Thu, 22 Mar 2001, Robert Mena wrote:
> Hi, I've succesfully installed a oracle 8.1.7 (chose
> server option) under a development redhat 6.2 box.
>
> I've compiled php as DSO with a
> --with-oci8=path/to/ORACLE_HOME and it compiled ok.
> If I try to start httpd I keep getting
>
> Cannot load
I would suggest for you to take all the complicated stuff out of a simple text
script and try something like this:
<%
setcookie("TestValue","Working",600)
%>
Make sure that nothing is being sent prior to setting the cookie, and see if IE
prompts you...
Good Luck!
[EMAIL PROTECTED] wrote:
> Hi,
> I just can't make sessions work.
Now this is strange! I copied exactly the same scripts I posted to my
win98SE box running Apache 1.3.19 and PHP 4.0.4pl1 and they worked!.
Which could be the reasons for the sessions not to work?. Do they work
transparently for name based virtuals, don't they?.
On Fri, 23 Mar 2001 12:39, adam wrote:
> how might i write to a file called "comment.php.comment" and only write
> the text specified to the top of the file, instead of writing it to the
> bottom?
You need several steps to achieve this:
read all of comment.php.comment into an array
open a temp f
Hi,
I have been developing PHP for a few years now as an employeee of other companies.
I have now started working from home doing contracts for various businesses.
Does anyone know of where I can find the wording of a software license I can give to
my clients when I hand over the code.
It shoul
-
Disclaimer: The information contained in this email is intended only for the
use of the person(s) to whom it is addressed and may be confidential or
contain legally privileged information. If you are no
adaniel Thu Mar 22 18:14:05 2001 EDT
Modified files:
/php4/pear/HTML Table.php
Log:
moved the display method to HTML_Common and updated some comments
Index: php4/pear/HTML/Table.php
diff -u php4/pear/HTML/Table.php:1.3 php4/pear/HTML/Table.php:1.4
--- php4
adaniel Thu Mar 22 18:13:19 2001 EDT
Modified files:
/php4/pear/HTML Common.php
Log:
updated some comments, added display method, and added the toHtml abstract method
Index: php4/pear/HTML/Common.php
diff -u php4/pear/HTML/Common.php:1.4 php4/pear/HTML/Comm
how might i write to a file called "comment.php.comment" and only write the
text specified to the top of the file, instead of writing it to the bottom?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Chris,
why wouldn't you just use the html way of right justifying text? ie
so in php just use echo " blah foo boo";
-Original Message-
From: Chris Lee [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 23, 2001 10:56 AM
To: [EMAIL PROTECTED]
Subject: [PHP] how do I find out how man
I would like to right justify some text, as far as I know, I will need to determin how
many pixels wide a string will be on the image, then subtract that value from the x
cord of the line your right justifing it to. you know have the x cord for the text. am
I correct? if so how do I figure our
At 18:18 21/3/2001 -0800, you wrote:
>If you're on windows, (which i'm assuming you are) you can call the PHP
>binary with the path to your php script...
>
>so (assuming you have C:\php\bin\ as part of your PATH enviromental
>variables for windows) you could do PHP C:\path\to\php-script.php and it
ssb Thu Mar 22 17:15:10 2001 EDT
Modified files:
/php4/pear DB.php PEAR.php.in
/php4/pear/DB STATUS common.php oci8.php
/php4/pear/DB/tests errors.inc fetchrow.inc numrows.inc
sequences.inc
/php4/pear/DB/tests/ibase
adaniel Thu Mar 22 17:11:59 2001 EDT
Modified files:
/php4/pear/HTML Common.php
Log:
removed the pass by reference on the second parameter of _updateAttrArray
Index: php4/pear/HTML/Common.php
diff -u php4/pear/HTML/Common.php:1.3 php4/pear/HTML/Common.php:1
Good day to all!
Before, I was able to password protect html and php files via a username
and passowrd script which used sessions. Now, I need to password protect
a folder (via .htaccess) that has images (for a family album thing). Can
this be done via sessions (or even cookies)? I don't want to
On Thu, 22 Mar 2001 12:51, Erick Papadakis wrote:
> hello, i need to read a microsoft Word document on the server through
> my file system. is there a way i can read the text of a word document?
>
> thanks/erick
If youu are on a *nix system, there is a package called mswordview, or
alternatively
On Fri, 23 Mar 2001 03:46, Kilian wrote:
> Hello All!
>
> Since I upgraded to PHP4, file upload into MySQL tables seems not to
> work anymore. I am using PHPMyAdmin to access the database. When I try
> to upload a file there, I get the Error "The file '[tmpdir]/php129947'
> must be in the database
fmk Thu Mar 22 16:58:59 2001 EDT
Modified files:
/php4/ext/fbsql php_fbsql.c
Log:
Removing extra check for warnings.
Index: php4/ext/fbsql/php_fbsql.c
diff -u php4/ext/fbsql/php_fbsql.c:1.6 php4/ext/fbsql/php_fbsql.c:1.7
--- php4/ext/fbsql/php_fbsql.c:1
Hi Peter,
Thanks for all the help. I actually started playing with what you told
me, and then did some trial-and-error testing
and found out that I didn't need ScriptAlias /src "/home/src/" at all.The
.php3 files ran when I removed it, then I added these
two lines to get the .pl and .cgi
theres even $GLOBALS()
""Data Driven Design"" <[EMAIL PROTECTED]> wrote in message
001301c0b347$d96ca5c0$[EMAIL PROTECTED]">news:001301c0b347$d96ca5c0$[EMAIL PROTECTED]...
> You can cycle through the $HTTP_POST_VARS or $HTTP_GET_VARS arrays
depending
> on whether you use 'post' or 'get' for the m
> > I read the mail fine in my hotmail.com account, but when I read
> that same
> > mail in my MS Outlook client the mail is one long line of text:
> > "this is line 1 this is line 2 this the 3rd etc etc"
> >
> > I understand from this difference in layout that the 'carriage
> return' is
> > requi
Hello,
Not sure if this is exactly focused on PHP, but i thought some of you
guys might know.
The general problem:
I want to be able to send SMS messages from my computer using one of
the free SMS services.
I want to be able to do this without logging on each time - i.e.
from a program
> I´m trying to compile PHP 4.0 under Solaris 8.0 - SPARC
> 250. When I try to configure using the appropiate script, it
> test for the existence of one package called lex and another
> called flex, both couldn´t be found and the script can´t
> continue. Anybody has be in the same trouble?
You can cycle through the $HTTP_POST_VARS or $HTTP_GET_VARS arrays depending
on whether you use 'post' or 'get' for the methos in you form
while(list($key,$val)=each($HTTP_POST_VARS)) {
print "$key:$val\n";
}
- Original Message -
From: JCampbell <[EMAIL PROTECTED]>
To: Main PHP List <[E
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Eelco de Vries) wrote:
> "this is line 1
> this is line 2
> this the 3rd
> etc
> etc"
>
> I read the mail fine in my hotmail.com account, but when I read that same
> mail in my MS Outlook client the mail is one long line of text:
> "this is lin
Windows, ha ha ha.
K E I T H V A N C E
Software Engineer
n-Link Corporation
On Thu, 22 Mar 2001, Fred wrote:
> i found the problem , could you believe one of my scripts caused php to
> crash,,, how frustrating, i sent al evening fiddling with the bloody
> software
> "Yasuo Ohgaki" <[EMAIL
other way around, set the variable the register it
session_start();
$hello = 'chris lee';
session_register('hello');
here is my session file.
--
Chris Lee
[EMAIL PROTECTED]
""Lic. Rodolfo Gonzalez Gonzalez"" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[E
$HTTP_POST_VARS
Jerry Lake- [EMAIL PROTECTED]
Web Designer
Europa Communications - http://www.europa.com
Pacifier Online - http://www.pacifier.com
-Original Message-
From: JCampbell [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 12, 2000 4:06 PM
To: Main PHP List
Sub
If it's in some kind of collections, you could iterate through the
collection. ($HTTP_POST, $HTTP_GET, any associative array, etc.)
Cal
http://www.calevans.com
-Original Message-
From: JCampbell [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 12, 2000 6:06 PM
To: Main PHP List
Subje
I would like to know if there is a way to determine the name of a variable.
Example:
I have the variable $firstname, with a value of Jon
I want to be able to
echo name_of_variable : value_of_variable;
So the user would see
firstname : Jon
I want to be able to do this without knowing what var
Hello list,
I just can't make sessions work. This is driving me mad, I'm sure it's
something silly, but maybe my headache made me a fool :P :) ... could you
please tell me what's wrong here?. hello.php has a link to next.php:
--- start of hello.php ---
$hello";
?>
--- end of hello.php --
Hi,
I've managed to install oracle and to compile and
install php (--with-oci8). Unfortunately when I start
the server it gives me a httpd dead but subsys locked.
Searching the archives I found one link to PHP.net
manual (http://www.php.net/manual/en/ref.oci8.php)
where it tells me that I shoul
Technically, that would be a COPY. The original data would still be there.
To do a MOVE he would need to issue a delete in old_table after confirming
that the insert into new_table succeeded.
HTH,
Cal
http://www.calevans.com
-Original Message-
From: James Atkinson [mailto:[EMAIL PROTECT
I need to know how to do it in PHP?
""Cal Evans"" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
: Probably on the MySQL list. This is the PHP. (This is arguments,abuse is
: down the hall.)
:
: Try:
: http://www.mysql.com/documentation/lists.html
:
:
: Cal
: h
OK say you old table is this
create table old_table (
id int auto_increment,
name varchar(100),
address varchar(200),
comments text);
and you new table is:
create table new_table (
id int auto_increment,
name varchar(200),
address varchar(200));
To populate new_table from old_table you can give
Probably on the MySQL list. This is the PHP. (This is arguments,abuse is
down the hall.)
Try:
http://www.mysql.com/documentation/lists.html
Cal
http://www.calevans.com
-Original Message-
From: YoBro [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 22, 2001 5:20 PM
To: [EMAIL PROTECTE
Hello,
Does anybody know where I could find out how to Move data from one Mysql
table to another.
I have a query showing all the results, and I am trying to put a link at the
end of each row that says "move"
Clicking this will move that records information to another table.
IE From table orders
you also need to have
ScriptAlias /src "/home/src/"
Action application/x-httpd-php4 "php excicution file location"
AddType application/x-httpd-php4 .php
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf
> Of Maroufski
> Sent: Thursday, Mar
check php.net and read the 'README' and
'INSTALL' files that come in the .tar.gz file
for more detailed information.
very basically, you want to get the sources,
untar/zip them, run configure, then build the
thing and test it (you can do all of this
as an unprivileged user). then install as
roo
you dont... as far as i know,
crypt only works on <= 8 chars
it will truncate anything over 8.
perhaps try using md5 or mcrypt...
> -Original Message-
> From: Randy Johnson [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, March 22, 2001 4:33 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Cry
do .php files work anywhere else?
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf
> Of Maroufski
> Sent: Thursday, March 22, 2001 5:41 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] PHP/CGI Help
>
>
> Hi all,
> This is a tough one, wasn't able to fin
modulus also works for finding even nums:
if ($i % 2) {
// not even
}
> -Original Message-
> From: darion mapp [mailto:[EMAIL PROTECTED]]
> Subject: Re: [PHP] Printing MySQL into HTML Tables
>
>
> now it seems like you know what is to be done and you are not willing to
> do the wo
quite possibly you did not compile PHP with mcrypt
library support.
for linux distrib's, mcrypt is not default, you have
to specify ./configure --with-mcrypt to get mcrypt
functionality (i dont know whether it's included
by default with the win binary, but i doubt it)
do the phpinfo() thing and
Hi all,
This is a tough one, wasn't able to find a solution so far. But
I hope that someone can help me out
or point me in the right direction.
Here is what I got:
/src contains a bunch of cgi scripts that require apache to have an
entry like this
ScriptAlias /src "/home/src/"
When I try t
now it seems like you know what is to be done and you are not willing to do the work.
Now i have not tested this and you may have to do some work with it but you get the
picture. if you lookup the syntax and ensure how to use the command then you will be
ok.
of course if you still have problems
There is a timeout, that should halt a script if it runs too long. If you
can, check
php.ini
set max_execution_time to something greater than 30 seconds, see if that
helps.
""Brooks, Ken"" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I thought maybe the php
On Thu, 22 Mar 2001, Ben Mansell wrote:
> joosters Thu Mar 22 10:48:51 2001 EDT
>
> Modified files:
> /php4/sapi/fastcgifastcgi.c
> Log:
> Fix a bug with POST requests. If the Content-Type header wasn't present,
> we were setting SG(request_info).content_type to N
ok, so i have want to encrypt my user password in the mySQL Database and well that is
not working but in addition to that when the user logges into the system i have to
encrypt their password and compare the two encrypted passwords to see if they match.
this is where my problem starts. I get th
the way i do it for sites that need minimal to medium
is to generate a session id whenever a user comes to
the site. this session id is stored in mysql table
and as a cookie on the user's computer. when the
user logs in correctly, the username is stored in
the database with the session ID (not a
I'm trying to use Fopen to check and see if a URL exist with this bit of code.
$url=$row[url];
echo "Old URL = ".$url."";
$urlcheck = fopen($url,"r");
echo "urlcheck = ".$urlcheck."";
switch ($url){
case "":
case "http://":
echo "No URL Set";
break;
default:
switch ($urlcheck){
case 1:
echo "Val
Okay, I'm baffled.
I told it to Connect to the database.
I then started a loop of (odbc_fetch_row)
I get about 6000 records returned (that i'm just plopping into an array for
speed).
That's all, much more than when i process each one, but I would think it is
more than possible
to grab more than
Hello!
I am constructing an intranet site. The site is all secure, I mean, all the
pages are under a directory that needs a password to get in. These are
facts:
A) The user information is on a LDAP;
B) The user should entry the pair login/password only once;
C) Any access to the site without log
i figured it out...thanks.
putenv()
Joe Rice([EMAIL PROTECTED])@Thu, Mar 22, 2001 at 03:16:35PM -0600:
>
>
> how do you sent a Environment Variables for the php script
> to execute in? i need to set INFORMIXSERVER so i can
> use the informix php functions. This is going live tomorrow
> and we
hello
I use crypt to crypt member's passwords and use the following verify
"$stored_password" is the encrypted, stored password.
"$password" is the plain text password you just got from the form.
## Check the passwords
$encrypted_password = crypt($password,$stored_password);
if ($encrypted_p
Ok, I am working on a site where I would like to use sessions but NOT
cookies. I would also like to have the sessions automatically appended
to URL but I have a few questions. The current php rpm distribution was
not compiled with --enable-trans-sid (according to phpinfo.php), am I
correct
I thought maybe the php script was running to fast for the network
connection.
So i put in a sleep(1)
It still only ran for about the same amount of time (less records pulled of
course).
Could it be losing the connection instead because of lack of activity?
Would a persistent connection make any
fmk Thu Mar 22 13:16:23 2001 EDT
Modified files:
/php4/ext/fbsql php_fbsql.c
Log:
Adding warning when query fails
Index: php4/ext/fbsql/php_fbsql.c
diff -u php4/ext/fbsql/php_fbsql.c:1.5 php4/ext/fbsql/php_fbsql.c:1.6
--- php4/ext/fbsql/php_fbsql.c:1.5
I would like to do this with a MySQL database containing
product information:
Product 1 InfoProduct 2 Info
Product 3 Info
And if there are an odd number of products I want it to
complete the table row with nothing in the cell. I want
it to be able to automatically do this no matter how many
pr
how do you sent a Environment Variables for the php script
to execute in? i need to set INFORMIXSERVER so i can
use the informix php functions. This is going live tomorrow
and we don't have it working yet...PLEASE HELP!
thanks,
joe rice
Web Admin
www.bigidea.com
--
PHP General Mailing Lis
Hi, I've succesfully installed a oracle 8.1.7 (chose
server option) under a development redhat 6.2 box.
I've compiled php as DSO with a
--with-oci8=path/to/ORACLE_HOME and it compiled ok.
If I try to start httpd I keep getting
Cannot load /etc/httpd/modules/libphp4.so into server:
libclntsh.so.
attachments ar stripped for security purposes by the mailing list server. please post
the code in your msg.
--
Chris Lee
[EMAIL PROTECTED]
""Miguel Loureiro"" <[EMAIL PROTECTED]> wrote in message
00ad01c0b2ff$f12a9c00$[EMAIL PROTECTED]">news:00ad01c0b2ff$f12a9c00$[EMAIL PROTECTED]...
Hel
Are there any limitations on how many records I can pull from an Oracle
Database
over ODBC?
I have it pulling one record just fine, but when I tell it to pull all
records,
which should be about 75,000, it only gets about 600 or so.
Does the php script time out (i'm running it thru a web browser)
as allready stated you need to set the cookie before data is outpued, you can override
this by editing your php.ini
output_buffering = on;
on another note, I would use sessions for all this, youve created a tone of code that
does almost exactly what sessions can do in a matter of a few lines.
"McShen" <[EMAIL PROTECTED]> wrote:
> hi
>
> how do i back up a mysql DB table? Can you please write me the code?
i would just stop the database server and dump the table to a file
with mysqldump, just run it from the command line for example:
/path/to/mysqldump -h host -p password -u usern
Well... Whadda ya know. Right after I sent the post I figured it out.
(Solution? Variable variables!)
function register_vars($reg_var) {
// Make the $reg_var global
$global_vars=explode("|", $reg_var);
for ($i=0; $i wrote in message
99dn35$duo$[EMAIL PROTECTED]">news:99dn35$duo$[EMAI
so your trying to take a list of variables and register them as session vars?
$val)
{
global $val;
session_register($val);
}
}
?>
this will work for that.
--
Chris Lee
[EMAIL PROTECTED]
""Tobias Talltorp"" <[EMAIL PROTECTED]> wrote in message
99dn35$duo$[EMAIL PROTECTED]">
In article <99dn35$duo$[EMAIL PROTECTED]>,
[EMAIL PROTECTED] ("Tobias Talltorp") wrote:
> I am trying to register a session variable in a function without using the
> global in the beginning.
You can pass the variable(s) to the function as an argument. Perhaps it
will be easier to deal with a
On Thu, 22 Mar 2001, Marc Boeren wrote:
> mboeren Thu Mar 22 07:14:35 2001 EDT
>
> Modified files:
> /php4/ext/dbx dbx.c dbx_mysql.c dbx_odbc.c dbx_mysql.h dbx_odbc.h
> php_dbx.h
> Log:
> Changed C++ style comments to C-style comm
I am trying to register a session variable in a function without using the
global in the beginning.
The reason for this is that I don´t always know how many variables I am
going to register (I separate the different fields with | like this,
"username|email|cellphone" and explode them).
Is there s
H-
Thanks to all that wrote in with input on this issue.
I really appreciate the assistance.
Thanks to CC Zona and James for the code sample. It looks like there
were typo's in my code and it threw me for a minute after
recieving/applying all the emails.
That backslash wasn't suppose to be i
ssb Thu Mar 22 12:12:02 2001 EDT
Modified files:
/CVSROOTcvsusers
Log:
* added Thomas V.V.Cox here too
Index: CVSROOT/cvsusers
diff -u CVSROOT/cvsusers:1.242 CVSROOT/cvsusers:1.243
--- CVSROOT/cvsusers:1.242 Thu Mar 22 11:18:24 2001
+++ CVSROOT/
ssb Thu Mar 22 12:10:57 2001 EDT
Modified files:
/CVSROOTavail gen_acl_file.m4
Log:
added Thomas V.V.Cox (pear)
Index: CVSROOT/avail
diff -u CVSROOT/avail:1.125 CVSROOT/avail:1.126
--- CVSROOT/avail:1.125 Thu Mar 22 11:18:23 2001
+++ CVSROOT/avail
I want to extract and save images from a large directory of PDF's... is this
possible with php? Has anyone done this??
James
--
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 admi
You can do this instead..
$month[] = array("Jan","Feb" .."Dec");
$m = 3;
$real_m = $m-1
echo "Month= $month[$real_m]; //Mar
You can also have PHP assign the first element of the array to index 1
instead of 0.. I think you accomplish that by doing something like $month[]
= array(1=>Jan,Feb,M
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Sterling) wrote:
> $m = "03";
> $list = array(01=>"Jan", 02=>"Feb", 03=>"Mar", 04=>"Apr", 05=>"May",
> 06=>"Jun", 07=>"Jul", 08=>"Aug", 09=>"Sep\", 10=>"Oct", 11=>"Nov",
> 12="Dec");
> $month = $list[$m];
> print "$month\n";
>
> What I want
H-
I'm kinda new to the PHP scene so if the below plea for help is
incredibly simple ... well.. What can I say? I'm stuck.
I've been on the PHP website for the last hour reading the documentation
on arrays and all the functions associated with it but have yet to find
a straight forward explaina
I beleive I am attempting to set this cookie before any headers are sent.
?
Kris
On 22 Mar 01, at 14:38, Brian V Bonini wrote:
> I believe you need to set the cookie
> before any other header information is
> passed.
>
> -brian
>
> > -Original Message-
> > From: [EMAIL PROTECTED] [mail
why don't you check to see is a variable was passed to the page. If you use the post
method then a hidden field can be used o check that the user did come from the
application page.
a sample of the check will be
if(!$var_from_previous_page)
{
header("location: application.php");
}
--
On Thu,
I believe you need to set the cookie
before any other header information is
passed.
-brian
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, March 22, 2001 2:23 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] need help with cookies
>
>
> Hi, I am
rasmus Thu Mar 22 11:18:25 2001 EDT
Modified files:
/CVSROOTavail cvsusers gen_acl_file.m4
Log:
CVS account for Romolo (have been discussion patches with him)
Index: CVSROOT/avail
diff -u CVSROOT/avail:1.124 CVSROOT/avail:1.125
--- CVSROOT/avail:1.124
Hi, I am trying to set a cookie and it doesn't work. I am running IE 5.
I have IE set to prompt before setting cookies but I never get a prompt.
Here is my code - basically, if someone logs in, it is to set a cookie.
What am I missing? Kris
if($success==1){
$loginid="$id";
PERIOD_DIFF(P1,P2)
or convert them both tu unix_time(p1) - unix_time(p2) then you can have
seconds and format them as you want
almir
""BlackLord"" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
99dcs5$cbh$[EMAIL PROTECTED]">news:99dcs5$cbh$[EMAIL PROTECTED]...
> Hi!
>
> I want to subtract to date tim
1 - 100 of 209 matches
Mail list logo