On Tuesday 13 March 2001 00:14, you wrote:
I already asked this once before, but nobody seems to answer. That's
why I'm re-writing
my question.
Well, you waited about two hours. That's not much, even for a mailinglist
like php-general.
--
Christian Reiniger
LGDC Webmaster
How do I round up a lot of decimal number like 10.232656898 to be 10.23 ? Should I use
this?
$num = 10.26564787;
$Rnum = round($num);
What would be the function I am looking for and how?
Jack
[EMAIL PROTECTED]
"There is nothing more rewarding than reaching the goal you set for yourself"
- Original Message -
From: "Chung Ha-Nyung" [EMAIL PROTECTED]
To: "Yasuo Ohgaki" [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Wednesday, March 14, 2001 5:07 PM
Subject: Re: [PHP] [Q] session variables wouldn't keep contents.
I found something!
If I set register_globals to Off in
"Rosen" [EMAIL PROTECTED] wrote in message
98n8ut$m26$[EMAIL PROTECTED]">news:98n8ut$m26$[EMAIL PROTECTED]...
Hi,
When I use sessions, on the URL row of the browser shows
"PHPSESSID=CXXX".
Can I hide id ?
Thanks,
Rosen Marinov
Use cookie for session. It seems there are some
the point is that you can't replace part of a flat file. you can append to
the content or replace it all. if you want to replace part, you need to read
it all, amend the relevant line and then replace it all.
Tim Ward
Senior Systems Engineer
Please refer to the following
"YO" == Yasuo Ohgaki [EMAIL PROTECTED] writes:
YO - Original Message -
YO From: "Chung Ha-Nyung" [EMAIL PROTECTED]
YO To: "Yasuo Ohgaki" [EMAIL PROTECTED]
YO Cc: [EMAIL PROTECTED]
YO Sent: Wednesday, March 14, 2001 5:07 PM
YO Subject: Re: [PHP] [Q] session
php works server side. you cannot get user to run anything in php without
resubmitting (posting or whatever) ... you need javascript if this is
something you can do client-side, if not you'll have to live with some sort
of resubmit.
Tim Ward
Senior Systems Engineer
Please refer
Thanks,
but cookies are disabled !
Rosen Marinov
""Yasuo Ohgaki"" [EMAIL PROTECTED] wrote in message
98nai7$2gb$[EMAIL PROTECTED]">news:98nai7$2gb$[EMAIL PROTECTED]...
"Rosen" [EMAIL PROTECTED] wrote in message
98n8ut$m26$[EMAIL PROTECTED]">news:98n8ut$m26$[EMAIL PROTECTED]...
Hi,
When
How do I round up a lot of decimal number like 10.232656898 to be 10.23 ?
Should I use this?
$num = 10.26564787;
$Rnum = round($num);
What would be the function I am looking for and how?
Try:
$num = 10.26564787;
$Rnum = round($num, 2);
/Johan
--
PHP General Mailing List
An idea is to put the session id in your web page addresses.
e.g. http://level1/level2/12123234234234234234/test.php
Then setup your web server to filter all addresses to remove the session id
from the address before it is displayed in the browser window (you can set
apache to do this) so the
set the session.save_path to a directory that exists on your system (for
example: session.save_path = c:\temp)
Pavel
- Original Message -
From: "Brandon Orther" [EMAIL PROTECTED]
To: "PHP User Group" [EMAIL PROTECTED]
Sent: Tuesday, March 13, 2001 10:56 PM
Subject: [PHP]
SNIP
I found something!
If I set register_globals to Off in php.ini, then session *seems* to
work
YO well.
In /tmp, session data file contains both of variable name and value
and I
YO can
use $HTTP_SESSION_VARS["variable"].
BUT, as
on 14.03.2001 5:59 Uhr, Andrew V. Romero at [EMAIL PROTECTED]
wrote:
Is it possible to use different parts of one php script for multiple
html forms? I am not seeing how people create multiple pages of html
forms with each form importing information from the previous form.
Right now, for
On Tue, 13 Mar 2001, Zeev Suraski wrote:
zeev Tue Mar 13 14:52:53 2001 EDT
Modified files:
/php4/ext/mysql php_mysql.c php_mysql.h
Log:
Implement mysql_unbuffered_query() - uses mysql_use_result() instead of
mysql_store_result()
Don't you think this belongs in the
I just want every customer on my site get his own unique id as his directory
name but the pages requested are all processed by the root.
Such as: customer1's url is http://www.mysite.com/2000123/
customer2's url is http://www.mysite.com/2000124/
Yes you can and there is even a neater script that does it.
with thise you can update any amount of frames a t the same time.
Just well i got to find it. msg back in a few.
Jens Nedal
on 12.03.2001 22:15 Uhr, Angerer, Chad at [EMAIL PROTECTED] wrote:
Yes you can.. use Javascript
Look
Im new to PHP and want to know if it is possible to reference PHP scripts
from a html page, the equivalent to an % include% tag in asp.
If so what is the syntax?
Thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
?php
include ("file.php");
?
NOBBY
- Original Message -
From: Costas [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, March 14, 2001 4:37 PM
Subject: [PHP] How to include in PHP?
Im new to PHP and want to know if it is possible to reference PHP
scripts
from a
Hi!
I'ld like to announce the availability of a database abstraction module,
called 'dbx'.
It gives you the ability to code your database-enabled php-templates once
(for a specific database), and port to a different database later by just
changing the string "odbc" to "mysql" (e.g.) once. This
On Wednesday 14 March 2001 09:33, you wrote:
I set "register_globals = Off" for many reasons.
Session may not work with "register_globals = On"??
Works fine here (php 4.0.4 / Linux / Apache)
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
"Never doubt that a small group of
Hi,
I have a seious problem with the mail function. It does not send the emails.
It returns 1 but does not send them. I think it may be a problem with
sendmail permissions. Can you help me? Please.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Hi All,
This might be a really dumb question - I'm a bit of a newbie.
I have a hosting account that provides PHP, but it hasn't been compiled with
the IMAP libraries, and I really need these functions. Is there any way to
link the IMAP lib locally (ie: without root permissions)? I've used Perl
In ASP, you can have something like:
snip
%
select case something
case "this" do that
case "those","them" do other
case "crap","doesn't matter","whatever" do nothing
case else print error
end select
%
/snip
IN PHP
I have a hosting account that provides PHP, but it hasn't been compiled
with
the IMAP libraries, and I really need these functions. Is there any way to
link the IMAP lib locally (ie: without root permissions)? I've used Perl
before and know that similar is possible.
No, you have to compile PHP
Same as C
switch($something)
{
case "this": do that;break;
case "those":case "them": do other; break
...
default: print error
}
Cheers
--
Phil Driscoll
Dial Solutions
+44 (0)113 294 5112
http://www.dialsolutions.com
http://www.dtonline.org
--
PHP General Mailing List
switch($something)
{
case "this":
do this;
break;
case "those":
case "them":
do other;
break;
case "crap":
case "doesn't matter":
case "whatever":
do nothing;
break;
default:
print error;
}
snip
%
select case
On the latest version of Apache I have heard you can run Compiled C binaries
from the CGI bin. Is this true? If so how does it work?
--
Dan Pupek
On the Web:
http://www.sunnet.net/dnkp/dan
Email:
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail:
I have a script which the user enters information into a form and it returns
a enquiry number using mysql_insert_id
Is it possible when the form is filled in to pull a unique order number
from a text file.
TIA
george
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail:
how to install php on windows 98 or iis 5.0
This command works without problems on a local unix server.
However, when I tried the exact same code , $sortmail =
imap_sort($mailbox,SORTSIZE,1) on a remote imap server running on mac,
it produces problems. (no error messages)
I am unable to check the error messages as they are none. And
Hey !! How are you
I've tried to do run PHP with JAVA support enabled, (in a Win32 plattform in
this case), and when i uncommented the extension=php_java.dll, all is ok,
then i configure the [JAVA] section, with...
[Java]
java.home = c:\java
java.library = c:\java\jre\bin\classic\jvm.dll
It's truly amazing what you can find three clicks away from the main page
of www.php.net.
http://www.php.net/manual/en/installation.php
HTH
Jon
-Original Message-
From: hananet [mailto:[EMAIL PROTECTED]]
Sent: 14 March 2001 12:53
To: [EMAIL PROTECTED]
Subject: [PHP] install
how to
Hi It's me again!
Bruno...From Brazil...
Hi wanna know How can i take the day of week of aany date...
Example:
How to know that 14 of march of 2001 is a Wednesday??
Thanks...
Bruno.
sas Wed Mar 14 05:38:03 2001 EDT
Modified files:
/php4/ext/standard browscap.c
Log:
Fix ZTS build
Index: php4/ext/standard/browscap.c
diff -u php4/ext/standard/browscap.c:1.43 php4/ext/standard/browscap.c:1.44
--- php4/ext/standard/browscap.c:1.43
I am trying to make a call from one page (pure HTML) that would include a
tag as follows:
img src=http://mydomain.com/returnimage.php?var1=value1var2=value2
width="100" height="50" alt="Description"
My question is how to get the php script to return the proper headers as
well as the image to
This has been true since CGI began in the NSCA days. Any program that can
take input from STDIN and output to STDOUT works as a CGI program.
Languages I have actually used in the CGI bin include, C, C++, AWK, Sh, PHP
and of course Perl.
The C program simply has to deal with the CGI variables
What they've got now is completely fine - why necessarily change it?
OK OK - I know many of the reasons why, but moving to another platform,
you will most likely 'lose' that 'advanced authentication'. Oo.
To gain the flexibility and stability of PHP on Linux/Apache, everyone in
the
Please,
As I make to make keyboard key ENTER to function equal keyboard key
TAB
Thanks
Marcel Henrique
from Brazil
--
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
Check out
http://developer.irt.org/script/471.htm
it is a document titled
"How can I simulate the tab key when the enter key is pressed?"
Marcel Henrique Scandolara - Wide [EMAIL PROTECTED] 03/14/01 08:38AM
Please,
As I make to make keyboard key ENTER to function equal keyboard key
TAB
Did you read this page?
http://www.php.net/manual/en/features.images.php
What is your php code looks like? if you read this page already.
Yasuo Ohgaki
=
My favorite links
[RFC] http://www.faqs.org/rfcs/ [W3C] http://www.w3.org/
[PHP Manual]
please help me...
I'm working with some simple xml parsing.
in my xml document i have a tag like this: billede
img="theme/bg.gif"/billede
which holds the path of a picture.
in the xml parser i'm trying to output it as an img src="" tag, but
nothing seems to work.
some of the things i have
Hello all,
I have a normal form (form1) with a variable (var1) and a form inside a layer (form2)
with a variable (var2).
After submit (form1), how can I have access to var2 ? (if I must use javascript should
use: document.layer.var2 or document.form2.var2 or document.layer.form2.var2
Return document , other than HTML is very simple.
The type of the document is contained in the http content-type header.
You can easly set it by the header function.
header("Content-type: application/x-www-urlform-encoded");
Pablo
[EMAIL PROTECTED]
Yasuo Ohgaki
=
My
At 09:36 AM 3/14/01 -0500, Michael Kimsal wrote:
What they've got now is completely fine - why necessarily change it?
As you've stated, there are many reasons why changing would be a good
thing, but mostly it's a manager (a higher up executive level mucky-muck)
throwing out 'Hey what about
Following loop works fine !
but I don't want $art_nr_1 (which is 4564)
I want to have $art_nr_$i
but if you use it you just get 1,2,3,4
for ($i=1; $i50; $i++) :
$varid = "quant".$i ;
if ($$varid != "") {
echo
"
input type=hidden name=\"art_nr\" value=\"$art_nr_1\"
input type=hidden
Please,
As I make to make keyboard key ENTER to function equal keyboard key
TAB
Thanks
Assuming you are talking about page that is displayed on user's browser.
You cannot use PHP to do that, PHP simple does not have control.
However, you can catch key pressed event (onkeydown) using
sniper Wed Mar 14 05:42:33 2001 EDT
Added files:
/php4/ext/fbsql EXPERIMENTAL
Log:
Missing.
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the
I think you'll need to use javascript.
put a input with the type "hidden" in the first form with no value.
Call a javascript function on the submit button or image action.
This javascript must set the hidden input in form1 with the var2 value
before submiting the form to the script.
the object
I have been over that page, but did not know that it applied since I do not
want to modify an image, simply pass it on to the requestor. Here;s my
relevant code:
?php
...database stuff...
Header("Content-type: image/jpg");
?
img src="image.jpg" width="100" height="50" alt="Description"
sniper Wed Mar 14 05:43:58 2001 EDT
Added files:
/php4/ext/fbsql CREDITS
Log:
Forgot this one..
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact
Sascha Schumann wrote:
sas Wed Mar 14 05:38:03 2001 EDT
Modified files:
/php4/ext/standard browscap.c
Log:
Fix ZTS build
Works - thanks, Sascha.
--
sebastian bergmann e-mail : [EMAIL PROTECTED]
homepage :
In ASP, you can have something like:
snip
%
select case something
case "this" do that
case "those","them" do other
case "crap","doesn't matter","whatever" do nothing
case else print error
end select
%
/snip
IN PHP you can't do cases like that, because like in C, u must have a
try this...didn't test it, but i think it'll do the trick:
for($i=1;$i50;$i++){
$varid = "quant".$i;
if($$varid != ""){
echo 'input type=hidden name="art_nr" value="';
echo $art_nr . $i;
echo '"';
echo 'input
I don't know if this fixes your problem but this worked for me. Define a
Javascript function:
function PassRequest(what) {
document.fields_frm.p_request.value=what
}
and then in the form you could perhaps have:
td valign="top"
input type="hidden" name="p_request"
input
Read up on forcetype'ing on phpbuilder.com - it will do just what you want it
to do.
--Joe
On Wed, Mar 14, 2001 at 06:08:18PM +0800, Alex wrote:
I just want every customer on my site get his own unique id as his directory
name but the pages requested are all processed by the root.
Such as:
It's bizarre it should work but I get back just 1, 2 or 3
Although with this just to test input type=\"hidden\" name=\"test\"
value=\"$art_nr_1\" it works fine
and i get back input type="hidden" name="test" value="124478"
And really weird it this version
for ($i=1; $i50; $i++) :
$quantid =
Hi,
I have a situation where I'd like to store some data in shared memory as
opposed to repetitive database requests. Basically, I'd read in a
(small) database table and serialize the results into shared mem. I've
read through the semaphore and shared memory documentation, but some
things are
Hi,
?
$value=0;
if ($value=="NULL")
echo "Value is NULL!";
else
echo "Value is not null.";
?
output: Value is NULL!
is it a bug or expected behaviour? tested it on 4.0.4pl1.
i got around it by using strcasecmp(), but just wondering. :)
Rgds,
Tfr
--== [EMAIL PROTECTED] ==
I am constructing a function for retrieving records from a mysql database
and putting them into an array called $print_field[name][number].
My problem is that I only seem to get the first two records and I think I
know where the problem is, but I canĀ“t seem to be able to solve it.
Any ideas
"Joe Sheble (Wizaerd)" wrote:
At 09:36 AM 3/14/01 -0500, Michael Kimsal wrote:
What they've got now is completely fine - why necessarily change it?
As you've stated, there are many reasons why changing would be a good
thing, but mostly it's a manager (a higher up executive level
Jon A wrote:
...
print "img src=\"$element_attrs['IMG']\"";
break;
...
print "img src=\"{$element_attrs['IMG']}\"";
break;
- this will let it parse, but it won't do anything with the html.
can
indrek siitan wrote:
Hi,
?
$value=0;
if ($value=="NULL")
echo "Value is NULL!";
else
echo "Value is not null.";
?
output: Value is NULL!
is it a bug or expected behaviour? tested it on 4.0.4pl1.
i got around it by using strcasecmp(), but just wondering. :)
It's
Learning to Use Regular Expressions by Example
http://www.phpbuilder.com/columns/dario19990616.php3
-Original Message-
From: Martin Thoma [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 14, 2001 6:12 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Tutorial for RegExpressions
Hi !
Does
Quoting Kike (Wed, Mar 14, 2001 at 11:59:32AM -)
Hi,
I have a seious problem with the mail function. It does not send the emails.
It returns 1 but does not send them. I think it may be a problem with
sendmail permissions. Can you help me? Please.
What do the sendmail mail logs say? if
Hi Michael,
Alos, when I run the page, it give me a parse error in line 22, that is:
while ( list ( $key, $val ) = each ( $HTTP_GET_VARS ) )
Any idea?
Here's the complete page
html
head
titleUntitled Document/title
meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"
/head
hi
I have a database with some urls and numbers. There are currently 2 records
in the database. I wanna sort them by the numbers. How should i do it?
my table is like
name hits
john 343
scott 3423
any suggestions would be greatly appreciated!
--
PHP
Hi,
I'm experiencing an odd situation. I am returning a large file back to a
client w/ readfile(). If I cancel the stream before it is done, it will
cause the PHP script to write the rest of the file's contents to Apache's
error_log (creating quite a huge log file).
I'm afraid I don't
I meant to write about this last week!
I see a LOT of examples on the PHP website, both by contributions and by
the staff responsible for the manual, of using functions inside of loops
to get a value that doesn't change, i.e. the end or beginning of an
array.
A lot of code out there would speed
I have the same problem. Mail function works fine on my NT development box,
but when I transfer files over to Unix, it doesn't, as if mail goes into the
void. The only setting you need on Unix is the sendmail path, no? SMTP and
sendmail_from are not required and are ignored, is that correct?
As I could make a function to write values for extensive, example:
It types 10
soon below appears (Ten)
Obliged for the attention
Marcel Henrique
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To
Hi all;
I am using PHP4.0.4pl1 build 3 of rpms Redhat 7.0
I need the swf snmp extensions very badly
rpmfind.net seems went offline
so do any one there have those 2 extensions as rpms?
if not could any body help me build those extensions from the source =
code as external extension?
thnx alot
Whoops I forgot to include the whole buildquerystring function in my last
post
Sorry about that
function build_querystring() {
global $HTTP_GET_VARS;
$vars=array();
$varlist=array("cID","dID","editreturn","return","action","editpers");
while (list($key,$value)=each($HTTP_GET_VARS)){
Howdy Folks!
I am wondering how to make a giant list of forms in a loop.
My goal is to search the database for the data in the cell clicked.
This is step by step process that I would like to achieve:
1. Dump the contents of the website_log db to the browser in a table
format.
2. User clicks
Merhabalar
ITU ve serbestyazilim.org.tr ortak etkinligi kapsaminda pazartesi gunu
C++'in yaraticisi Bjarne Stroustrup tarafindan " Fundamental C++ programming
styles / Multiparadigm programming in C++ " konularinda ITU Suleyman Demirel
Kultur Merkezinde ucretsiz seminer verilecektir.
Hey :)
I'm in the need to fetch some javascript varibles from php, any ideas on
how this
could be done ?
Regards, Morten Hansen
--
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
Is there anyway in PHP to prompt the user for input like JavaScript's
prompt("Hello, what is your name?")
Thanks, Gary
--
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
Kevin,
Thanks for the reply. This will not solve my problem. The problem is, for some
languages the sentence structure may be different. For example, the sentence
may need to be,
$greeting = "$first_name, welcome!"
as opposed to,
$greeting = "Welcome, $first_name!"
Or, it can come in
Kevin,
Thanks for the reply. This will not solve my problem. The problem is, for some
languages the sentence structure may be different. For example, the sentence
may need to be,
$greeting = "$first_name, welcome!"
as opposed to,
$greeting = "Welcome, $first_name!"
Or, it can come in
You can still do:
in your language file (presumably called english.php)
define("ENGLISH_GREETING", "Hello, \$first_name");
Then in your script you just need to use
ENGLISH_GREETING
it should work as long as you have defined $first_name prior to using
ENGLISH_GREETING
you may have to declare
?PHP
if( $Submit ){
print "Your name is $name";
}
else{
print "FORM METHOD=\"post\" ACTION=\"$PHP_SELF\"";
print "Please Enter Your Name:";
print "INPUT TYPE=\"text\" name=\"name\"";
print "INPUT TYPE=\"submit\" NAME=\"Submit\" VALUE=\"Submit\"";
print "/FORM";
}
?
Kevin Leavell
[EMAIL
In article [EMAIL PROTECTED], "Michael Kimsal"
[EMAIL PROTECTED] wrote:
[snip]
You're asking if this can be done with Linux? Probably not, unless you
got into some
strange Samba stuff, which I don't think is capable of doing all that
stuff (someone
more familiar with samba please jump in
is there a way so that if someone submits a web url (hopefully its a
picture), i can check to make sure its a valid picture?
i think its something like fopen(), but i dont know far i could get
thanks!
- Noah
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL
Something is not working here:
select * from nmensagem m, nusuario u, nprefuser p where
m.cdpreferencia=p.cdpreferencia and p.flag=1;
With "m.cdpreferencia=p.cdpreferencia" I should get just the values there
exists on m.preferencia and p.cdpreferencia?
thanks,
Augusto
--
PHP General
I'd like to see mysql_fetch_field() return as the last value in the
object, the allowable values for an enum field as an array. Could I get
a cc as well as a listserver group answer from the PHP guys as to
whether they think this is a good idea?
Is there any other EASY way to get that
If you don't see --enable-sigchild in phpinfo() then :
(a) you are not running the version you compiled
(b) your config script had something wrong.
Baseline: if you don't see it, it's not there.
You have to recompile.
-Stathis.
Bob Kakalec wrote:
When I execute an sql statement against my
On Wed, 14 Mar 2001 12:12:22 -0800, Dennis Gearon ([EMAIL PROTECTED])
wrote:
I'd like to see mysql_fetch_field() return as the last value in the
object, the allowable values for an enum field as an array. Could I
get
a cc as well as a listserver group answer from the PHP guys as to
whether they
This isn't a php problem as much as an apache problem, however, it is =
webmasters of php sites that would have dealt with this.
Here's the dilemna-
If you use mod_dav to maintain a php application that uses =
username/password authentication for the web app, it doesn't play very =
nice.
At
-Original Message-
From: Chung Ha-Nyung [mailto:[EMAIL PROTECTED]]
My second example program.
a.php
?php
session_start();
session_register("name");
$HTTP_SESSION_VARS["name"] = "test";
echo session_encode();
?
a.php
result is as following.
Hello,
I am sending flash code stored in a database to the browser depending
on action taken by the user. It works fine on just about any platform and
browser except on Mac with IE 4.01 and IE 4.05.
Is there a specific type of header we need to send to the client when
we are sending a flash
I have new "blank" forms on the server and I would like to give my client an option to
save a partially filled form to his computer. Is there any way I can do this with php?
I know that if the client just saves the form using his browser then it will only save
the initial HTML, and ignore
I got the following code in a script I'm testing, but it seams to not verify all good
e-mail address as valid.
echo "old email = ".$row[email]."br";
if (ereg("^([a-zA-Z0-9_-])+@([a-zA-Z0-9_-])+(\.[a-zA-Z0-9_-])+" or
Hi Chris,
THANKS! Really BIG THANKS!!
That was the problem.
John
Chris Lee wrote:
more lilly then not its the " ' problems.
echo "
tr
td
FORM NAME='log_id_search' ACTION='$PHP_SELF' METHOD=POST
INPUT TYPE=HIDDEN NAME='sql_search_type' VALUE='log_id'
INPUT TYPE=HIDDEN
Check http://stphp.sourceforge.net
Maciek
-Original Message-
From: Tao [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 14, 2001 8:14 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: [PHP] software localization with PHP
Kevin,
Thanks for the reply. This will not solve my
anyone run into this?
I was checking my error log and the entire post-PHP contents of a
page was in my error log. I checked the access log and the page was
requested but the client got back 0 bytes. very strange.
It looks like it happened a few times.
I'm using Apache 1.3.14 on RH 7.0 with
jmoore Wed Mar 14 13:28:58 2001 EDT
Modified files:
/php4/ext/standard credits.c credits.h info.h
Log:
Adding webteam to credits.
Index: php4/ext/standard/credits.c
diff -u php4/ext/standard/credits.c:1.5 php4/ext/standard/credits.c:1.6
---
Do any of these editors support server mappings allowing one to
auomatically preview files through a server? I find this invaluable in
HomeSite (which is also VERY stable for me using Win2K) and I think
HTMLKit does it too-- but do anyof the leaner text editors?
By server mappings I mean that I
uw Wed Mar 14 14:33:58 2001 EDT
Modified files:
/php4/pear/Experimental/HTMLMenu.php
Log:
- code beatifiying
- minor inline doc update
Index: php4/pear/Experimental/HTML/Menu.php
diff -u php4/pear/Experimental/HTML/Menu.php:1.8
How would I go about checking to see if a file exist from php?
I didn't find anything on php.net when I did a search for exist.
basically, I'm trying to accomplish this.
if $file exist {
do something;
}else{
echo "$file doesn't exist";
}
thanks in advance.
Kenneth R Zink II [EMAIL
From: "Kenneth R Zink II" [EMAIL PROTECTED]
How would I go about checking to see if a file exist from php?
I didn't find anything on php.net when I did a search for exist.
if (file_exists("/full/path/to/file.txt"))
http://php.net/manual/en/function.file-exists.php
--
PHP General
I dont know what you call 'feasable' but this would be the most efficient
way of doing this:
FORM NAME="coolform" METHOD=POST ACTION='reference to self'
INPUT type="text" name="firstName" value="?=$firstName?"/INPUT
INPUT type="text" name="lastName" value="?=$lastName?"/INPUT
INPUT type="submit"
1 - 100 of 170 matches
Mail list logo