Try using htaccess authentication instead?
-Ade
www.phpscriptsearch.com
-Original Message-
From: Jason Wong [mailto:[EMAIL PROTECTED]]
Sent: 05 February 2003 07:06
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Protect Access to a Directory
On Wednesday 05 February 2003 04:06, Pushpinder
You can use in_array (http://www.php.net/function.in_array) for this.
--
Mattias
--|-Original Message-
--|From: Narciso Miguel Rodrigues
--|[mailto:[EMAIL PROTECTED]]
--|Sent: Wednesday, February 05, 2003 02:03
--|To: [EMAIL PROTECTED]
--|Subject: [PHP] Array find a element
--|
--|
There is gettext support in php for this. Haven't used it myself, but
check it out at http://www.php.net/ref.gettext
--
Mattias
--|-Original Message-
--|From: JJ Harrison [mailto:[EMAIL PROTECTED]]
--|Sent: Wednesday, February 05, 2003 06:56
--|To: [EMAIL PROTECTED]
--|Subject: [PHP]
Jj Harrison [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
I am currently planning an application. I would like to include multiple
language support so that I can have a german or french version down the
track if need be.
What are your views on the best way to
Pushpinder Singh Garcha wrote:
Hello ,
I am using PhpMyAdmin to control my MySQL Database. Untill now I had
been using the Local Apache webserver to test my scripts, so I had
installed PhpMyAdmin in the 'Sites' Folder of my Mac. Now I need to beta
test the Application on the Live Server. Do
Hi,
i've written a secure PHP login script which will allow users to login to a
directory such as this:
smezone.com/members/index.php
however, how do I restrict people from accessing HTML files in that
directory (which they can easily do so by typing the URL into their
browser), such as:
If a MS Access database and a PHP server were on the same machine, could
they connect without having to use something like MS SQL Server?
There is a php file that retrieve the source code from the url www.url.com
and this source is treated and you get content from this file and show it
on the response page.
Is this possible? Can anyone show me the right direction?
yes, codeword is 'ripping', i found some hits on google with
I'm trying to use cookies in PHP4 (.whatever the latest release is). I
want
to use them for validation (ensuring a user has logged in) but all I can
find
is setcookie, which seems only to create the cookie. In trying to use PHP
sessions, I end up with odd errors.
When I try to use sessions
Hello!
Using the following script I try to get a html-page gzip-compressed, and
uncompress the body of the HTTP-message.
?php
define(CRLF,\xD\xA);
$host = selfforum.teamone.de;
$path = /;
$fp = fsockopen($host, 80);
$header = GET .$path. HTTP/1.0.CRLF;
$header .= Accept-Encoding: gzip.CRLF;
I am trying to create associative array in a while loop..
$image_array = array();
$image_array = array_push($file_name=$image_url);
what i am doing wrong??
Try:
$image_array = array();
$image_array[$file_name] = $image_url;
PHP wrote:
I am trying to create associative array in a while loop..
$image_array = array();
$image_array = array_push($file_name=$image_url);
what i am doing wrong??
--
The above message is encrypted with double
Goetz Lohmann wrote :
doc_root = /usr/local/www/htdocs
than maybe leave this blank !
No. In my case it's absolutely senseless to define doc_root in php.ini
since there are many virtual servers in httpd.conf, each with its own root.
It's also the reason why I don't want Apache to get a
At 13:28 5-2-03, you wrote:
Try:
$image_array = array();
$image_array[$file_name] = $image_url;
PHP wrote:
I am trying to create associative array in a while loop..
$image_array = array(); $image_array =
array_push($file_name=$image_url);
i agree with the suggestion, but maybe (this may be
On Wednesday 05 February 2003 20:51, Chris Hayes wrote:
At 13:28 5-2-03, you wrote:
Try:
$image_array = array();
$image_array[$file_name] = $image_url;
PHP wrote:
I am trying to create associative array in a while loop..
$image_array = array(); $image_array =
Ananth Kesari [EMAIL PROTECTED] wrote... :
Thanks for your inputs. Will proceed from here.
Well, if you did not know, NetWare is an operating system brought out
by Novell.
I know :)
We are working on porting PHP onto NetWare. In fact, we
already have ported PHP 4.2.3 onto NetWare and
Hello,
I need a way to write a record to the db when the user closes their browser.
How can I do this? I looked last night at the onunload javascript event but
am not sure how that can trigger the php code to enter a row in the db. I
am using sessions so is there a way to write to the db when
Hey Guys,
How can I get the value of an javascript string and pass it to a php variable?
i.e.
script
var x = test;
/script
?
$x = // need to get the value of x
?
thanks
Iced Sun
You could use ODBC
--
Maxim Maletsky
[EMAIL PROTECTED]
Phil Schwarzmann [EMAIL PROTECTED] wrote... :
If a MS Access database and a PHP server were on the same machine, could
they connect without having to use something like MS SQL Server?
--
PHP General Mailing List
Hi,
I was looking on PHP manual but didn't find anything about it.
How can I execute a script all days at the same time? I kno i must have
access to the CRON of the system, but don't know what function should I use
to make this happen (run the script).
Miguel
--
PHP General Mailing List
How can I get the value of an javascript string and pass it to a php variable?
script
var x = test;
/script
?
$x = // need to get the value of x
?
Well as you know, but just as a reminder, when you make a page with both
php and javascript in it, the PHP code is executed on the
Hi,
Wednesday, February 5, 2003, 11:49:35 PM, you wrote:
MB Hi,
MB I was looking on PHP manual but didn't find anything about it.
MB How can I execute a script all days at the same time? I kno i must have
MB access to the CRON of the system, but don't know what function should I use
MB to make
php-general Digest 5 Feb 2003 14:06:41 - Issue 1865
Topics (messages 134364 through 134404):
Re: Array find a element
134364 by: Bobby Patel
134384 by: mattias.ballou.se
Printing
134365 by: Chris Kay
134367 by: Jason Sheets
php problem
134366 by:
Hi Miguel,
You can use cron to execute the CGI or CLI version of PHP against your
PHP script, for example /usr/local/bin/php example.php, simply create a
cron entry that will execute at the desired time. If you need
information on the crontab format do a man crontab or search google for
cron
If you have PHP compiled as cgi then you can run something like:
php /path/to/my/script.php
or if you can request the page via your website with something like:
lynx -dump http://your site.com/yourscript.php
Also if you want to know how to use cron, try typing man cron in your
shell
Hope this
Can anyone point to information on how to install mcrypt support for
PHP. I tried the PHP mcrypt pages but they are quite lacking in details.
I downloaded libmcrypt and got that installed fine.
I also downloaded mcrypt (do I really need it?) but that wouldn't
configure. It complains that:
Do a man crontab to get info.
Or Google for turotials on how to use cron.
Also make sure that PHP is available from the command line. Do a simple
test, on the command line type:
php --version
If you get version iformation as output the PHP is installed for command
line useage and will work
Download MCRYPT SRC.
tar -zxf mcrypt.tar.gz
cd mcrypt
./configure --prefix=/usr/local/mcrypt
make
make install
cd /usr/local/php
./configure --with-mcrypt=/usr/local/mcrypt
Replace path's with your own.
On Wed, 2003-02-05 at 09:07, Jean-Christian Imbeault wrote:
Can
Adam Voigt wrote:
Download MCRYPT SRC.
tar -zxf mcrypt.tar.gz
cd mcrypt
./configure --prefix=/usr/local/mcrypt
From the commands you give you imply that libmcrypt is not needed. Are
you sure?
The configure command you give does not work.
Here's the complete error:
[root@host110
Hello friends,
Can anyone please suggest me some lnks orhelp me with some info on how to make 2
scrollable areas inside one webpage? Also, can I put dynamic data output into these
areas?
Thanks very much.
Denis
Denis,
There are two ways:
1. Using text areas textarea name=thename rows=10 cols=50Content/textarea,
you can modify it dinamically using JS.
2. Using the IFRAME tag (which I think is not advised).
I'd recommend the first one.
HTH
--
Un gran saludo/Big regards...
Arturo Barajas,
Hi,
Thursday, February 6, 2003, 12:07:49 AM, you wrote:
JCI Can anyone point to information on how to install mcrypt support for
JCI PHP. I tried the PHP mcrypt pages but they are quite lacking in details.
JCI I downloaded libmcrypt and got that installed fine.
JCI I also downloaded mcrypt (do
Hey Jason,
I am looking for the same. Do you have or any one in this list has any idea? Please
let me know.
thanks
Hardik
Jason Wong [EMAIL PROTECTED] wrote:On Wednesday 05 February 2003 09:43, J J
wrote:
I've seen CMS systems like phpnuke but it's kind of
overkill for what I need and almost
Tom Rogers wrote:
I did it this way
untar libmcrypt and mcrypt into /usr/src
then in libmcrypt
./configure --prefix=/usr (could be /usr/local if you want
make
make install
ldconfig
cd ../mcrypt-2.6.3
Up to here fine.
./configure --prefix=/usr
configure: error: You need at least libmhash
You need only libmcrypt, mcrypt is a command line program that is
intended to replace the Unix crypt program.
To build the mcrypt binary you need mhash and libmcrypt, for PHP unless
you want mhash you need only libmcrypt.
Jason
On Wed, 2003-02-05 at 07:07, Jean-Christian Imbeault wrote:
Can
Try the window.open method to popup a php page that does the desired job.
script
window.onunload=doRec
function doRec() {
window.open(writeToDB.php)
}
/script
and writeToDb.php
?php
//..
?scriptwindow.close()
/script
--
Regards,
Ns_Andy, [EMAIL PROTECTED]
Edward Peloke [EMAIL PROTECTED]
Jason Sheets wrote:
You need only libmcrypt, mcrypt is a command line program that is
intended to replace the Unix crypt program.
To build the mcrypt binary you need mhash and libmcrypt, for PHP unless
you want mhash you need only libmcrypt.
Ok, so to build mcrypt support into PHP I only need
yes,I think this is the script you're looking for.
However,This script requires you to have lcnt.txt existing at the time this script
runs.
?php
$cfile = fopen(lcnt.txt, 'r+');
$lcnt = @fgets($cfile,10);
rewind($cfile);
fwrite ($cfile,++$lcnt);
fclose($cfile);
?
--
Regards,
Ns_Andy, [EMAIL
Hi,
Thursday, February 6, 2003, 12:30:01 AM, you wrote:
JCI Tom Rogers wrote:
I did it this way
untar libmcrypt and mcrypt into /usr/src
then in libmcrypt
./configure --prefix=/usr (could be /usr/local if you want
make
make install
ldconfig
cd ../mcrypt-2.6.3
JCI Up to here fine.
On Tuesday, February 4, 2003, at 05:03 PM, John W. Holmes wrote:
I think we are almost there. This code is not producing an error, but
it is also not incrementing the database. The value stays at zero. Any
idea what could be wrong?
$inc_current_ad = WrapMySQLDatabaseResults(macasap, update ads
Tom Rogers wrote:
Looks that way :)
I also have that in /usr/src and in php as
--with-mhash=/usr/src/mhash-0.8.17
Still no go. Did you compile into php 4.3.0? I finally got libmcrypt,
mhash and mcrypt to make and install, but can't get PHP to work with
--with-mcrypt OR
Thx all for the help
Problem solved
Miguel
Jason Sheets [EMAIL PROTECTED] escreveu na mensagem
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hi Miguel,
You can use cron to execute the CGI or CLI version of PHP against your
PHP script, for example /usr/local/bin/php example.php, simply create a
What would the SQL be to find a record where:
start_date today = end_date
Thanks,
- Brian
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello,
I'm trying to access pop3 server via PHP code. I can establish the
connection, send the USER command (I receive the +OK answer). After that
I sent the PASS command but I receive the answer -ERR syntax error.
I don't understand why syntax error.
Do you have an idea ?
Christian,
Hi Brian,
What would the SQL be to find a record where:
start_date today = end_date
... WHERE start_date today AND today = end_date
If you're asking how do I get today's date into an SQL statement, there
are two ways:
- use your DBMS's built-in function to get today's date
- use PHP's
Creating functions is a real easy part of programming. Classes are a
differect story (or at least at first). Anyway, If I were you, I would get
Professional PHP4 by Wrox and read the OOP section. I would first start
writting functions.
Think if it like this, if you use exact code twice (you
How about some code?
On Wed, 2003-02-05 at 10:21, Christian Ista wrote:
Hello,
I'm trying to access pop3 server via PHP code. I can establish the
connection, send the USER command (I receive the +OK answer). After that
I sent the PASS command
Brian,
$Today = // Date format that you use that can be compared to the date
stored in the database.
$Query = WHERE start_date $Today and end_date =$Today;
I just showed the where statement of the query. You can add in any
statement you want before that to select or manipulate data based on
Hi Everyone,
I worked on educational intranet and library management system. I did comment my code
but i dont know how to document functional and technical specification as well as
database schema. Can anyone help me how to start working on documentation part so
other developer can easily
Don't use array_push - simply set the value:
$image_array[$file_name] = $image_url;
- Original Message -
From: Leif K-Brooks [EMAIL PROTECTED]
To: PHP [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Wednesday, February 05, 2003 1:28 PM
Subject: Re: [PHP] Creating associative array
As you correctly found out, the onUnload handler would be the place to do
this, something like this:
Within your page, have a hidden form:
form name=oncloseform action=onclose.php
input type=hidden name=any_data_you_want_to_pass value=
/form
In your body statement you'll have
body
Hi Hardik,
I worked on educational intranet and library management system. I
did comment my code but i dont know how to document functional
and technical specification as well as database schema.
Theoretically, you should write the specs before the program (that way, the
program matches
Is it possible to read a string from a text file (i.e.
0502031130) and be able to use that in a date function such as:
$date = date(dmyHi, strtotime('+28 days));
How would I use that string as the date in the above code?
TIA,
Ed
--
PHP General Mailing List (http://www.php.net/)
To
Why does the absolute path work and not document_root?
include ($DOCUMENT_ROOT/root_functionsT.php);
//error message says function undefined
include (/www/r/myID/htdocs/root_functions.php);
// Works just fine
echo $DOCUMENT_ROOT/root_functionsT.php;
// shows
Is it possible to have PHP read cd label information? You know in windows
like after you put in a CD and use Windows Explorer and go to your CD rom
drive's letter it will say like D: (MSOffice2K) or D: (date of burned cd)
or D: (XPProCD), etc...If you know what I am talking about, is there a way
Dear list,
My home page is index.html, that doesn't run PHP.
I also have index.php which shows the same content with PHP.
Can I do to automatically redirect a visitor from index.html to index.php?
TIA
Alberto
--- Al [EMAIL PROTECTED] wrote:
Why does the absolute path work and not document_root?
include ($DOCUMENT_ROOT/root_functionsT.php);
//error message says function undefined
include (/www/r/myID/htdocs/root_functions.php);
// Works just fine
Try $_SERVER['DOCUMENT_ROOT'] and see if that
I've been attempting to use the readdir() function in conjunction with
opendir() and a couple others like the ones found here
http://www.php.net/manual/en/function.readdir.php to generate some file
listings. My problem is, I've tried all the examples found on the web page
linked above and all
You can do it with JavaScript or a Meta refresh, but why?
If both the pages are the same, why even use the HTML one?
Alberto Brea wrote:
Dear list,
My home page is index.html, that doesn't run PHP.
I also have index.php which shows the same content with PHP.
Can I do to automatically redirect a
--- Adam Williams [EMAIL PROTECTED] wrote:
Is it possible to have PHP read cd label information?
Yes.
I have never done this myself, but I know of at least one
or two open source projects that read information such as
that from a CD. They usually go one step better and
communicate with
Ok, guys this is it With th code bellow I can get the html file from a url and get the
content without the html tags, but I wanna control the exibition of this content and
only display the lines 1 to 4, and I can't seem to get how to do this.
I thank any advice you can get me.
Rodrigo
//
code?
ehhc TIA,
ehhc Ed
If you change the format of your string you can do this:
$t = 20030205 1530;
echo 'New date/time = '.date(d/m/Y H:i,strtotime($t. + 28 days)).'br';
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
Hi everyone,
I have a question about clearing or resetting headers. My script executes a
function based on the variables passed to it, such as:
events.php?action=add
However, when the function is finished, I need to redirect to events.php
with no variables, because refreshing the page causes
Thanks for the feedback
That works if I leave off the quotes from around DOCUMENT_ROOT. Simply
$_SERVER[DOCUMENT_ROOT]
I'd really like to get this working in the htaccess file.
php_value include_dir .:/www/r/myID/htdocs/
I redoing a site with several php files in assorted directories and
I have a question about clearing or resetting headers. My script
executes
a
function based on the variables passed to it, such as:
events.php?action=add
However, when the function is finished, I need to redirect to
events.php
with no variables, because refreshing the page causes another
Is it possible to read a string from a text file (i.e.
0502031130) and be able to use that in a date function such as:
$date = date(dmyHi, strtotime('+28 days));
How would I use that string as the date in the above code?
What database are you using? You can probably do all of this in
There are three ways to do this that I can think of.
1.) The first is the most effective but also requires access to the
apache config file:
Find the line that reads:
DirectoryIndex index.html
Change it to read
DirectoryIndex index.html index.php
As always when working with a config file.
Hi Adam,
Is it possible to have PHP read cd label information?
Where is the CD?
If it's in the CD-ROM drive of the webserver: probably.
If it's in the CD-ROM drive of a visitor to your website: no.
Cheers
Jon
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Put a .htaccess file in your document root for your website with this
line
DirectoryIndex index.php
Alberto Brea wrote:
My ISP tells me that the home page must be index.html.
However, I cannot make PHP scripts run on this page, so I made an
index.php page with the same content, and thought
It would be in the cd-rom drive of the webserver. The CD's would be
rotated periodically and the only way I have to identify what is on each
cd and which .exe to run on it is by identifying it by its cd label. I've
searched google and php.net but haven't found a function that can read cd
labels.
Hi,
Thursday, February 6, 2003, 3:06:29 AM, you wrote:
AW Is it possible to have PHP read cd label information? You know in windows
AW like after you put in a CD and use Windows Explorer and go to your CD rom
AW drive's letter it will say like D: (MSOffice2K) or D: (date of burned cd)
AW or D:
I'm not using this for any database related function. What I'm trying to
do is come up with a method for scheduling processes needed for our
company that are run through command line php scripts. I'll be using cron
or to run a command that will check the date within the file and see if
the
How can I read a file in a url, into an array so that I can access each line by itself?
Thanx
Rodrigo
Hi, Adam
TR You could try the vol command using exec{} and parse out the volume name
TR --
TR regards,
TR Tom
This should do it:
?
exec(vol g:,$result);
$label = trim(strrchr($result[0],' '));
echo 'Label is '.$label.'br';
?
--
regards,
Tom
--
PHP General Mailing
You can also try the following site. It is loaded with freelance developers
who are sitting there waiting for requests like yours.
http://webhostingtalk.com/forumdisplay.php?s=deff1e6ceaa5f13e400bfefc1702a2f
cforumid=33
-Original Message-
From: 1LT John W. Holmes [mailto:[EMAIL
How can I read a file in a url, into an array so that I can access
each
line by itself?
A certain four letters come to mind for this question...
www.php.net/file
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/
--
Thanks Tom, that works perfect!
Adam
On Thu, 6 Feb 2003, Tom Rogers wrote:
Hi, Adam
TR You could try the vol command using exec{} and parse out the volume name
TR --
TR regards,
TR Tom
This should do it:
?
exec(vol g:,$result);
$label =
Guess it's not on Linux, eh? :)
Adam Williams wrote:
Thanks Tom, that works perfect!
Adam
On Thu, 6 Feb 2003, Tom Rogers wrote:
Hi, Adam
TR You could try the vol command using exec{} and parse out the volume name
TR --
TR regards,
TR Tom
This should do it:
?
I'm not using this for any database related function. What I'm trying
to
do is come up with a method for scheduling processes needed for our
company that are run through command line php scripts. I'll be using
cron
or to run a command that will check the date within the file and see
if
the
hi..
how would you test for an empty (unused) variable from a form..
i have a phone number split into 3 different vairiables and want to test to
see if they were used in the form before displaying either the phone number
itself or just leaving it out of the display... what code would be good to
Unfortunately not. I'm putting PHP on a windows 95 computer and the
person will put a cdrom into the cd drive. Then they will double click on
a shortcut that will run the php executable with script, and the script
will read the cd label. depending on what the cd label is, it will call
the
Hi,
Thursday, February 6, 2003, 4:49:23 AM, you wrote:
JN Guess it's not on Linux, eh? :)
JN Adam Williams wrote:
Thanks Tom, that works perfect!
Adam
On Thu, 6 Feb 2003, Tom Rogers wrote:
Hi, Adam
TR You could try the vol command using
how would you test for an empty (unused) variable from a form..
i have a phone number split into 3 different vairiables and want to test
to
see if they were used in the form before displaying either the phone
number
itself or just leaving it out of the display... what code would be good to
I don't know of another program. As long as you write a unix timestamp
or some date format that can be parsed by strtotime(), then you can do
it this way. Use fopen()/fread() to get the last time saved in the file.
If you're using unix timestamps, just see if the current time is greater
Ok,
I have seen a suggestion or two for oop books but I would like to buy one so
what is the best php object oriented book on the market...in everyone's
opinion. The Professional PHP4 XML book looks good for xml, so I hope to
get that one, I have a php/mysql book, just want a good oop book now.
* forwarding to PHP general
Kasper Skårhøj [EMAIL PROTECTED] wrote... :
There are millions of PHP-scripts using MySQL. Most
of them probably doesn't use an Database Abstraction Layer (DBAL) in
order to support other databases. When the requirement is made some day
that a script should
Next time please consider searching on PHP.net or Google before you post.
This is an exceedingly basic question and there is an extraordinary amount
of information already out there..
if(empty($_POST['ac2']))
{
echo Area Code is a required field.;
}
-Kevin
- Original Message -
From:
tnx will try that my other code looked something like that but it didnt
work.. probably had the (and ) in the wrong places... i set it up as the
whole statement as 1 if statement not 3 different ones..
- Original Message -
From: Erich Beyrent [EMAIL PROTECTED]
To: Sunfire [EMAIL
FYI, isset() will return true for an empty variable. You use isset() only
when you expect there to be no variable. But for a hard coded HTML form the
variable will *always* be set (except in the case of check boxes) even if
thas no value. So your only options are to use empty() or test the
I use the following function to create links to files in the same catalog
(and format the link text):
function createLink() {
$handle=opendir(.);
while ($file = readdir($handle)){
if (($file == .) || ($file == ..) || (ereg(index, $file) ==
true) || ($file == basename ($PHP_SELF)))
Has anyone gotten this function or something like it to work correctly
with Micorsoft IE 5/6.
When I have it set to private, Mozilla and Opera works wonderfully, but
IE doesn't seem to have
half a brain, and would continually would have to refresh the page to
get current data.
I've tried it
On Wednesday 05 February 2003 23:32, Adam Voigt wrote:
How about some code?
On Wed, 2003-02-05 at 10:21, Christian Ista wrote:
Hello,
I'm trying to access pop3 server via PHP code. I can establish the
connection, send the USER command (I receive the +OK answer). After
that
On Thursday 06 February 2003 04:21, Øystein Håland wrote:
The part $file == basename ($PHP_SELF) is intended to not link to the
calling document, but this part doesn't work. So, what shall I do instead?
Could you explain HOW it doesn't work?
--
Jason Wong - Gremlins Associates -
I have a web site on a server running
freebsd-4.2/mysql-3.23.10/php-4.0.3pl1.
I am replacing that machine with a new box running
freebsd-4.7/mysql-3.23.52/php-4.2.3.
After copying the web site to the new server some pages no longer include
the
'include' pages. I am using php frames. I load the
hi i tried the code below as well as empty and isset and it seems that even
if the variables that have valid data in them they also get excluded from
display with the empty ones.. does mean any string? or is it the normal
empty string?
i need to know if the vars that dont get filled in from the
is there a function to get the server date date(); uses the date of the
client machine i need a function that grabs the date on the server.
Any help apreciated
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I'm using JPGraph in a PHP script, and I have caching turned on in JPGraph.
The graph making PHP is called from a img tag like so:
img src=testgraph.php
If JPGraph has determined that the image is too old, it regenerates it
on the fly.
Problem is, if the image takes more than 1-2 seconds for
how would you test for an empty (unused) variable from a form..
i have a phone number split into 3 different vairiables and want to
test
to
see if they were used in the form before displaying either the phone
number
itself or just leaving it out of the display... what code would
On Thursday 06 February 2003 04:41, [EMAIL PROTECTED] wrote:
I have a web site on a server running
freebsd-4.2/mysql-3.23.10/php-4.0.3pl1.
I am replacing that machine with a new box running
freebsd-4.7/mysql-3.23.52/php-4.2.3.
After copying the web site to the new server some pages no longer
I have a variable that get's chopped off at the %20 character.
In the form page I have:
bFrom: ?= $name;?
brE-mail address: ?= $email;?br
?= $sent;?/b/font/td
$sent and $name shows up fine, but immedieately I added (for testing)
input type=text name=sent value=?= $sent;?
input
1 - 100 of 181 matches
Mail list logo