andrei Fri Mar 2 15:47:03 2001 EDT
Modified files:
/CVSROOTloginfo.pl
Log:
Change the test a bit.
Index: CVSROOT/loginfo.pl
diff -u CVSROOT/loginfo.pl:1.40 CVSROOT/loginfo.pl:1.41
--- CVSROOT/loginfo.pl:1.40 Fri Mar 2 15:46:08 2001
+++
you mean sessions? cookies are client side, sessions are server side (with assistance
from cookies or url re-writing)
http://php.net/manual/en/ref.session.php
should have more then enough information, phpbuilder also has a few articles.
--
Chris Lee
Mediawaveonline.com
ph.
I found where the problem stems from after correcting a couple
items per your example but still don't know why it won't work.
It comes from using checkboxes in the form for PRIMARY KEY,
AUTO_INCREMENT and NOT NULL or NULL. When I use checkboxes
like this:
td align=center
input type=\"checkbox\"
http://www.php.net/manual/en/function.strtotime.php
No need to code it yourself, just say $timestamp = strtotime($livedate)
Sig for a Day
Stephan Ahonen, ICQ 491101
"That's very funny Scotty, now beam down my clothes!"
Come back tomorrow for a different sig!
Backspace a single "s" to reply by
sterlingFri Mar 2 17:06:55 2001 EDT
Modified files:
/php4/ext/curl curl.c
Log:
add a warn not available for curl_getinfo().
remove unneccessary error checking.
Index: php4/ext/curl/curl.c
diff -u php4/ext/curl/curl.c:1.38
Hey,
Wondering if any of you can help me with a problem
im trying to get something like this into $var :
titleblah "blah" blah/title
How can I do it if its multi lined
Someone suggested
content = END
BLAH BLAHC
BLHAC
END;
but that doesnt seem to work with quotes
Thanks
- Peter
--
PHP
From: [EMAIL PROTECTED]
Unfortunatly thats not an option since some dumb founded people will be
using
the script and they dont understand that concept...
any other suggestions?
- Peter
Okay, a heredoc may be better then:
?php
$title = END
titleblah "blah" blah/title
END;
echo
A couple resources to help :
http://www.php.net/manual/en/language.types.string.php
http://www.zend.com/zend/tut/using-strings.php
Each describes the ability to do :
$var = 'titleblah "blah" blah/title';
$var = "titleblah 'blah' blah/title";
$var = "titleblah \"blah\" blah/title";
have you checked phpinfo() to make sure that pgsql support is actually
compiled in? if so, any errors on connection, or just silently fails?
On Fri, 2 Mar 2001, K Old wrote:
Hello,
I'm running RH 7 and Apache. I have the latest version of PostgreSQL and it
is installed and running
hey,
given a directory structure like
$DOCUMENT_ROOT/2001/03/02 (where 02 is a file in dir 03/
which obviously represents a date, i would like to implement a page
such as latest.php, which will go to $DOCUMENT_ROOT, list all the
directories, sort them numerically, choose the largest,
Addressed to: [EMAIL PROTECTED]
[EMAIL PROTECTED]
** Reply to note from [EMAIL PROTECTED] Fri, 2 Mar 2001 15:59:55 -0500
Hi,
When I run the code:
?php
mysql_connect ("LOCALHOST","webmaster2","hironsc0");
?
I got error message:
Fatal error: Call to unsupported or
Hi
I have an account on a hosting service provider.
They have a server with a lot of clients... and there, each client has his own
Apache binary compiled with PHP 4.
They also offer MySQL... but they only have ONE server for all their customers,
and so, they just offer one db to each one.
I
Addressed to: Floyd Baker [EMAIL PROTECTED]
[EMAIL PROTECTED]
** Reply to note from Floyd Baker [EMAIL PROTECTED] Thu, 01 Mar 2001 16:39:23 -0500
Hi.. We have a city map using co-ordinates to link to specific info on various
buildings, etc. The links bring up an information
hello.
i'm having a little bit of problems with a little mysql table i'm using. the
table has no primary key nor index nor nothing.
i was wondering if it's possible to select the last inserted record of a
table with this characteristics.
i've been trying but with no good results.
thanks for
I think the second line is right, but I suggest to add space before and
after equal sign, if it is not working may be somethink else make the
problem.
safe_mode = off
-Original Message-
From: Leon Mergen [mailto:[EMAIL PROTECTED]]
Sent: 03 March, 2001 4:36 AM
To: [EMAIL PROTECTED]
Hello,
need some help. i need to take an HTML file that is written by a user in a
very bad format, for instance:
font class="sometihng" style=""Hi!/font
and get the following:
fontHi!/font
i tried to look at "strip_tags" but then it only returns me:
Hi!
thanks in
Hi Erick,
@ 12:22:39 AM on 3/3/2001, [EMAIL PROTECTED] wrote:
i tried to look at "strip_tags" but then it only returns me:
http://www.php.net/manual/en/function.strip-tags.php
string strip_tags (string str [, string allowable_tags])
"Note: Allowable_tags was added in PHP 3.0.13, PHP4B3."
sbergmann Fri Mar 2 22:35:25 2001 EDT
Modified files:
/php4/pear/BenchmarkTimer.php
Log:
Whitespace only.
Index: php4/pear/Benchmark/Timer.php
diff -u php4/pear/Benchmark/Timer.php:1.7 php4/pear/Benchmark/Timer.php:1.8
---
sbergmann Fri Mar 2 22:36:45 2001 EDT
Modified files:
/php4/pear/BenchmarkIterate.php
Log:
Use call_user_func_array() in order to profile functions that take arguments.
Index: php4/pear/Benchmark/Iterate.php
diff -u
Hi,
I'm sorry for this OT question, but I need to configure
apache to emit 503 accross the whole server _except_ in
two directories. I thought I'd use
RedirectMatch 503 ^/(?!docs|error)
but Apache fails to start with "Regular expression could
not be compiled." It doesn't grok the
php-general Digest 3 Mar 2001 07:07:50 - Issue 544
Topics (messages 42384 through 42428):
Problem getting PostgreSQL to compile
42384 by: K Old
42419 by: The Hermit Hacker
Safe mode?
42385 by: Leon Mergen
42425 by: Asep Dindin
Re: server side cookies
sbergmann Fri Mar 2 23:31:43 2001 EDT
Modified files:
/php4 php.ini-dist
Log:
Whitespace Fixes. Added another Win32 extension DLL. Removed configuration for
non-existent debugger.
Index: php4/php.ini-dist
diff -u php4/php.ini-dist:1.69
sbergmann Fri Mar 2 23:37:18 2001 EDT
Modified files:
/php4 php.ini-dist
Log:
Whitespace only.
Index: php4/php.ini-dist
diff -u php4/php.ini-dist:1.70 php4/php.ini-dist:1.71
--- php4/php.ini-dist:1.70 Fri Mar 2 23:31:43 2001
+++
hi dave,
i usually do this from entries in a database
but it should also work this way with an array
// first make an array holding all the cities
$myTowns = array("London","New York","HongKong","Johannesburg");
$ArrayElements = 4;
this is now creating the dropdown-box:
select
spages Fri Mar 2 23:58:31 2001 EDT
Modified files:
/php4/ext/cybermut cybermut.xml
Log:
- modified line 161 to be xml compliant
Index: php4/ext/cybermut/cybermut.xml
diff -u php4/ext/cybermut/cybermut.xml:1.1 php4/ext/cybermut/cybermut.xml:1.2
---
Hi,
How about the following:
1. Assign a session id to the form every time you generate it.
2. Maintain that session id on the server side in a sort of cache for a
specific amount of time (say, T) only. Time-out and delete session id
entries that haven't been used within time
From: [EMAIL PROTECTED]
Sent: Friday, March 02, 2001 9:12 AM
Just include the SID as a hidden input. It'll be POSTED to the next page
right along with your other variables. There's even a way to configure
your php.ini file so that PHP includes the hidden SID for you. I forget
which
Hi there,
Iam new to the world of PHP, and after my boss told me to learn PHP and MySQL, I
found my way here.
I am gettign to frips with MySQL, and Basic PHP seems to be sticking in my
brain, but I'd really appreciate it if you guys could point me in the direction
of a good on-line tutorial
I'm concepting a system in php that offers user level password protected
upload / download of image files - certain users would only be able to
access certain files.
The file sizes could be anywhere from 1mb on up to 25mb.
I am thinking of storing the (user uploaded and downloadable) files
Hi there,
Iam new to the world of PHP, and after my boss told me to learn PHP and MySQL, I
found my way here.
I am gettign to frips with MySQL, and Basic PHP seems to be sticking in my
brain, but I'd really appreciate it if you guys could point me in the direction
of a good on-line tutorial
In article [EMAIL PROTECTED],
[EMAIL PROTECTED] wrote:
Also, how would I set the (previously GET) vars up as session
variables? I'd have to post to yet another script which
would set the session variables and in turn SUBMIT (with just
the SESSID this time) to the actual page
$[EMAIL PROTECTED]
Todd Cary [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
I am having a very strange problem: PHP 4.0.4 on a NT 4 platform with
IIS 5 is only allowing one surfer to do a DB Select. If the DB is busy
with the first user, the page is not
Marcos wrote:
index.php
include ('info.html)
I think
readfile($inputFileName);
would be a better option.
FYI
You might want to add headers using header() with readfile().
PHP does not parse with readfile(), so it is more efficient. i.e. PHP does
not look for ?php
GIF89a QM=qauu}-
meYyiqmYeyuqAyy5M5qm=iU$E
bXDWbh7?!`
*.X?XbXM!, 18p \?
p?ApA 4dX??$(P@? (A @?J
?3/?@(?,pAJBx@3? U*?Y z1
! \ @@;
i have the above in my database,,...
it is a gif.. that i
A tactic I've been planning to use, but don't know if it actually works or
not, is to disable the button first thing in its onClick so the second
click
occurs on a disabled button. Does anybody know if this actually works or
not?
- Theo
How do you determine if the click is the first time,
Hi!
File upload doesn't seem to work from Netscape.
It works with Internet Explorer.
In netscape it says Network Error Occured..
Why's that..?
Thanl You!
Dhaval Desai
__
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.
I have a here doc:
print END
Hey there foo::bar($baz) how are you doing?
END;
foo::bar is a method that returns the name of $baz. I can't seem to get
that to interpolate properly. It would make my life cleaner and easier
if this could work. Is this at all possible?
--
PHP General Mailing
Hi All,
I would like too keep a session going from between 1 to 3 days user
selectable via my authentication system.
If i change the php.ini then the session will not be changeable how can I do
it without changing the lifetime variable?
Regards Lagi
--
PHP General Mailing List
On Thursday 01 March 2001 13:19, you wrote:
I'd like to include an inc file once a button id cliked!
You can only request a new page. Period.
PHP runs on the server, button clicks are evaluated on the client
(browser).
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
The use
Sebastian Bergmann wrote:
Carrie KL Tam wrote:
Hi Sebastian,
Don't understand why the following code keep telling me the error "Rename
failed (Invalid argument)":
?php
$forig = 'd:/pict/orig/YI3 ?a.3WOHF';
way i see it, ? and * (among others) are special chars in wind0ze
cheers,
hrishi
Hrishi wrote:
Sebastian Bergmann wrote:
Carrie KL Tam wrote:
Hi Sebastian,
Don't understand why the following code keep telling me the error
"Rename failed (Invalid argument)":
?php
$forig = 'd:/pict/orig/YI3 ?a.3WOHF';
$fcopy = 'd:/pict/copy/test1';
if
On Thursday 01 March 2001 20:58, you wrote:
But that would give me a value of a variable variable.
And I need a numerical value so
$var1 ="joe";
$var2 = date( "U" );
echo "$var1$var2";
won't do me any good.
Ahhh. You want to use the mcrypt functions or simply crypt() ?
--
Christian
On Friday 02 March 2001 00:22, you wrote:
I can think of one way that you can take in an attempy to prevent
this.
It is not totally fool proof but it will make it more difficult
to send spoof data:
1) Check your HTTP refereer when the form is submitted. If the
referer is not from your host
sbergmann Fri Mar 2 00:18:35 2001 EDT
Modified files:
/php4/pear/CacheFunction.php
Log:
Make it work, hopefully.
Index: php4/pear/Cache/Function.php
diff -u php4/pear/Cache/Function.php:1.2 php4/pear/Cache/Function.php:1.3
---
On Friday 02 March 2001 06:21, you wrote:
Hello,
Are there any good examples of producing embedded javascript code in a
php file?
?php
somecode
?
script language='javascript'
sglfjh s
/script
?php
more code
?
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
The use of
On Friday 02 March 2001 06:46, you wrote:
I can't create or manipulate jpegs, but pngs work fine. I am using a
hosting service. They installed GD 1.8.4 with jpeg support a few days
ago, but I'm thinking they did it wrong. I'm using code I know works
because it's straight out of the PHP
sbergmann Fri Mar 2 00:27:43 2001 EDT
Modified files:
/php4/pear/CacheFunction.php
Log:
Fixed example.
Index: php4/pear/Cache/Function.php
diff -u php4/pear/Cache/Function.php:1.4 php4/pear/Cache/Function.php:1.5
--- php4/pear/Cache/Function.php:1.4
thies Fri Mar 2 01:12:55 2001 EDT
Modified files:
/php4/ext/oci8 oci8.c
Log:
@- Fixed binding of ROWIDs in OCI8. (Thies)
Index: php4/ext/oci8/oci8.c
diff -u php4/ext/oci8/oci8.c:1.112 php4/ext/oci8/oci8.c:1.113
--- php4/ext/oci8/oci8.c:1.112 Tue
On Thursday 01 March 2001 12:51, you wrote:
2. i can order "old" mails from the script who managed this folder
right ? but i need to say what number i want.. like i want number
499-550 .. so my question what number do we have actually ? (i suppose
it started with one, but where are we right
I was curious, so I made simple test code, it seems works fine for PHP4.0.4
as Apache 1.3.17 module running under RedHat Linux 7.0.1. (Besides, I have
very similar code that you have. It works for me)
What is your environment?
If you are 100% sure that you don't have bug in code, I suggest to
Hi,
Imagine the following script:
HTML
TITLESome Title/TITLE
BODY
?php
$var = 1;
if ($var == 1) {
die ("I'm dead");
}
echo "I'm alive";
?
/BODY
/HTML
If I try to execute via Internet Explorer ("5.x") apparently every thing
works fine.
It shows the string "I'm dead".
But
In article [EMAIL PROTECTED],
[EMAIL PROTECTED] (Ricardo D'Aguiar) wrote:
Imagine the following script:
HTML
TITLESome Title/TITLE
BODY
?php
$var = 1;
if ($var == 1) {
die ("I'm dead");
}
echo "I'm alive";
?
/BODY
/HTML
If I try to execute via Internet
sbergmann Fri Mar 2 02:29:35 2001 EDT
Modified files:
/php4/pear Cache.php
Log:
Whitespace only.
Index: php4/pear/Cache.php
diff -u php4/pear/Cache.php:1.1 php4/pear/Cache.php:1.2
--- php4/pear/Cache.php:1.1 Thu Mar 1 08:32:28 2001
+++
hi~
#cat httpd.conf | grep ErrorDocument
ErrorDocument 404 http://aaa.bbb.ccc.ddd/404.php
i wanna get URL inputed by user's browser.
# cat 404.php
?
$pre_url = $HTTP_SERVER_VARS[HTTP_REFERER];
echo "$pre_url";
?
have a good time~. :)
hi~
#cat httpd.conf | grep ErrorDocument
ErrorDocument 404 http://aaa.bbb.ccc.ddd/404.php
i wanna get URL inputed by user's browser.
# cat 404.php
?
$pre_url = $HTTP_SERVER_VARS[HTTP_REFERER];
echo "$pre_url";
?
have a good time~. :)
- Original Message -
From: Scott Wagner
To: php
Sent: Thursday, March 01, 2001 11:55 PM
Subject: can't start apache
Hi
I just installed mysql, apache and php4 on Linux Mandrake 7.0 from a cd I got with the
book "PHP Fast and Easy" After installing apache it seemed ok and started
sbergmann Fri Mar 2 02:39:37 2001 EDT
Modified files:
/php4/pear/CacheOutput.php
Log:
Fixed typo.
Index: php4/pear/Cache/Output.php
diff -u php4/pear/Cache/Output.php:1.2 php4/pear/Cache/Output.php:1.3
--- php4/pear/Cache/Output.php:1.2 Thu Mar
gluke Fri Mar 2 03:41:34 2001 EDT
Modified files:
/php4/ext/mnogosearch php_mnogo.c test.php
Log:
UDM_ISPELL_TYPE_SERVER parameter in udm_load_ispell_data has been added
to work with ispell server. This feature is available starting from
mnoGoSearch
It's probably a good idea to stop using hidden form fields. Save your state
data securely, use sessions etc.
Then you only have the usual problem of validating the data you wanted the
user to send you , instead of also the hidden data you were hoping they
would leave alone!
HTH
Cheers
Bruce
gluke Fri Mar 2 03:43:26 2001 EDT
Modified files:
/php4/ext/mnogosearch test.php
Log:
# mnoGoSearch example fix
Index: php4/ext/mnogosearch/test.php
diff -u php4/ext/mnogosearch/test.php:1.19 php4/ext/mnogosearch/test.php:1.20
---
Just include the SID as a hidden input. It'll be POSTED to
the next page right along with your other variables.
Right.
There's even a way to configure your php.ini file so that PHP
includes the hidden SID for you. I forget which setting it
is--maybe "trans-id" or something like
gluke Fri Mar 2 04:14:20 2001 EDT
Modified files:
/php4/ext/mnogosearch README
Log:
# TODO updates in mnoGoSearch module README
Index: php4/ext/mnogosearch/README
diff -u php4/ext/mnogosearch/README:1.6 php4/ext/mnogosearch/README:1.7
---
Hello everybody,
I am fairly new to php and have the following problem:
I wrote an application that uses sessionhandling. I will enclose parts
of the code below.
It runs fine under Netscape 4.74, or Explorer 5 and also under other
Browsers.
Problems arise under Netscape 4.6 when cookies are not
Well not sure what ya need an example of :)
php is php and javascript is javascript.
What excatly do you need help wiht ?
-Original Message-
From: Christian Reiniger [mailto:[EMAIL PROTECTED]]
Sent: March 2, 2001 5:34 AM
To: Php-General@Lists. Php. Net
Subject: Re: [PHP] php and
Greetings, all.
I'm a relative newcomer to PHP, looking into the possibilities of setting up
a LAMP (Linux, Apache, MySQL, PHP, and Perl) platform for a new web server.
We have everything set up and running currently, with PHP 4.04 running as an
Apache module. We'd like to pitch this to the
I started with this:
http://www.php.net/tut.php
went from there. Also
http://www.thickbook.com/
has some good stuff.
Jeff Oien
Hi there,
Iam new to the world of PHP, and after my boss told me to learn PHP and MySQL, I
found my way here.
I am gettign to frips with MySQL, and Basic PHP seems
uw Fri Mar 2 06:00:43 2001 EDT
Modified files:
/php4/pear/Cache/Container file.php
Log:
Fixed expire date bug.
Index: php4/pear/Cache/Container/file.php
diff -u php4/pear/Cache/Container/file.php:1.2 php4/pear/Cache/Container/file.php:1.3
---
I have 2 values. The first is a constant while the second is not.
Is the first value a numerical value (real/integer?) or a
string value?
String.
This is what I've come up with and it seems to work pretty ok.
What do you guys think?
(test code to illustrate a point; other than the
uw Fri Mar 2 06:10:29 2001 EDT
Modified files:
/php4/pear/Cache/Container phplib.php
Log:
Fixed: MySQL data, expire, garbageCollection
- forgot to mention for db.php and this file
changed suggested SQL column type for content (data)
from
You might also go to http://www.devshed.com they have a very good php
section.
For code to look at go to http://www.weberdev.com/ or http://www.zend.com
Thank you
Brian Paulson
Sr. Web Developer
[EMAIL PROTECTED]
http://www.chieftain.com
1-800-269-6397
-Original Message-
From: Jeff
There are only three places you can pass data without using forms, and
using buttons, or images to trigger a POST of the data.
1. Get parameters after a ?
2. Cookies.
3. In the URL itself.
How is 3 different from 1?
Why do you want to eliminate all get params and cookies? That might
uw Fri Mar 2 06:16:38 2001 EDT
Modified files:
/php4/pear/Cache/Container db.php phplib.php
Log:
Added a warning on the usage of REPLACE INTO to the inline docs.
Index: php4/pear/Cache/Container/db.php
diff -u php4/pear/Cache/Container/db.php:1.3
Hello!
I'm facing a problem.
Inside of a php3 script - I have a string that contains html code as well
as php3 code.
At start, when I tried ECHOing the string to screen, the php commands
weren't activated
and viewing the source of the generated page allowed me to see that they
were just
That won't work. Clicking on a link does not trigger
sending of fields (hidden or not).
No? How about:
form name=myForm method=post action=...
input bla bla bla...
/form
a href="javascript:document.myForm.submit();"Click here/a
a href="#" onclick="document.myForm.submit();return
uw Fri Mar 2 06:30:04 2001 EDT
Modified files:
/php4/pear/CacheContainer.php
Log:
- changed $max_age to an absolute timestamp value
Index: php4/pear/Cache/Container.php
diff -u php4/pear/Cache/Container.php:1.2 php4/pear/Cache/Container.php:1.3
When I try compile php I get the following error that is directly related to
PNVersion:
root@server5:/usr/local/phpApache/php-4.0.4pl1# make make.out
pfpro.c: In function `php_if_pfpro_version':
pfpro.c:129: warning: initialization makes pointer from integer without a
cast
zeevFri Mar 2 06:36:29 2001 EDT
Added files:
/php4/ext/cybermut .cvsignore Makefile.in config.m4 cybermut.c
cybermut.xml libs.mk php_cybermut.h
/php4/ext/cybermut/tests001.phpt
Log:
Add CyberMut extension from Sylvain
chregu Fri Mar 2 06:46:01 2001 EDT
Modified files:
/php4/pear/CacheOutput.php
Log:
Wrong order of Parameters in $this-container-save();
and $this-cache_id instead of $this-id on the same line
Index: php4/pear/Cache/Output.php
diff -u
Does anyone know how to set server side cookies in php? Or can you
point me to a link on how to do this.
Please note that I am not asking how to set client side cookies.
Thanks,
Jeff
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
"Boget, Chris" wrote:
That won't work. Clicking on a link does not trigger
sending of fields (hidden or not).
No? How about:
form name=myForm method=post action=...
input bla bla bla...
/form
a href="javascript:document.myForm.submit();"Click here/a
a href="#"
uw Fri Mar 2 07:17:23 2001 EDT
Modified files:
/php4/pear/CacheOutput.php
Log:
... must forgot this commit - endGet(), $cache_id = $output_id
- added endGet() which returns the output buffering content
- changed $cache_id to $output_id seems
uw Fri Mar 2 07:18:39 2001 EDT
Modified files:
/php4/pear/CacheOutput.php
Log:
Sorry, removed my local settings. Will take some sleep before commiting again!
Index: php4/pear/Cache/Output.php
diff -u php4/pear/Cache/Output.php:1.5
andiFri Mar 2 07:25:52 2001 EDT
Modified files:
/php4/sapi/nsapinsapi.c
Log:
- Commit NSAPI patches.
Index: php4/sapi/nsapi/nsapi.c
diff -u php4/sapi/nsapi/nsapi.c:1.16 php4/sapi/nsapi/nsapi.c:1.17
--- php4/sapi/nsapi/nsapi.c:1.16Sun Feb
hi all, just a quick question.
i've made a personal addressbook, the code for which i'm going to
release soon (best probably for newbies). anyway, i want to make it
so that i can pass multiple email address from one page to another.
basically it'll be a form select function like :
select
This would require a form for every link and that was something I
illustrated earlier as one of the possibilities I had come
up with. But it was a possibility that I was trying to avoid...
No, you could do following:
a
href="javascript:document.myForm.action='theLink';document.myF
sbergmann Fri Mar 2 08:16:00 2001 EDT
Modified files:
/php4/pear/CacheGraphics.php Output.php
Log:
Fixed small glitches.
Index: php4/pear/Cache/Graphics.php
diff -u php4/pear/Cache/Graphics.php:1.2 php4/pear/Cache/Graphics.php:1.3
---
'Boget, Chris' wrote:
Don't bother with checking the HTTP_REFERER - it can be easily forged.
There is a very simple solution to this problem -- validate the data from
the form!
[snip]
You should be doing this anyway, since who knows what the user could
type in your input box.
Well, anything you get back from the client will be as GET
variables, I think. So, if your forms only use POST variables,
and you've turned on track_vars, then you can get your variables
through $HTTP_POST_VARS() like $foo=$HTTP_POST_VARS('foo');
If I'm wrong on this, I'm sure someone
Php is not parsing .data files, I have the following in Apache config.
AddType application/x-httpd-php phtml php php3 data
Thanks,
David
$email_list = implode(",",$emailto);
The name in your select probably doesn't need the $
Data Driven Design
PO Box 1084
Holly Hill, Florida 32117
http://www.datadrivendesign.com
http://www.rossidesigns.net
- Original Message -
From: "Sandeep Hundal" [EMAIL PROTECTED]
To: [EMAIL
On Friday 02 March 2001 00:23, Shaun Thomas wrote:
On Thu, 1 Mar 2001, Meir kriheli wrote:
I use both of the databases (Interbase 6.01 and PostgreSQL 7.1beta4).
PostgreSQL has more features comapared to Interbase (the procedureal
language is very robust and there are many datatyps to
"Boget, Chris" wrote:
This would require a form for every link and that was something I
illustrated earlier as one of the possibilities I had come
up with. But it was a possibility that I was trying to avoid...
No, you could do following:
a
Depends on what errors you get. "I can't create or manipulate jpegs"
isn't particularly helpful...
OK, it returns a broken image and when I download that the resulting file
reads "ImageJpeg: No JPG support in this PHP build". But tech support says
they installed the jpeg support and that they
[Resend] Was Not Able To Take Last Entry.. Please Fill Out Again.
Hey... We Haven't Talked In So Long!! How Have You Been?
Thought I would Forward you this email!
I usually delete these but I opened this one, like what I saw,
and thought you would like to see this.
sas Fri Mar 2 09:01:52 2001 EDT
Modified files:
/php4/sapi/thttpd thttpd.c
Log:
Combine all HTTP headers into a single writev
Index: php4/sapi/thttpd/thttpd.c
diff -u php4/sapi/thttpd/thttpd.c:1.37 php4/sapi/thttpd/thttpd.c:1.38
---
[snip]
It is "--enable-trans-sid" and it is turned on. However, the
problem is that it doesn't work. :( If the user does not have
cookies turned on, the SID will not be sent through to the next
page on HREFs (I know you have to do it manually when
Hy there!
Aviv Revach wrote:
How can I make those php3 commands to work as they supposed to?
Take a look at the eval() function
http://www.php.net/manual/en/function.eval.php
It does exactly what you are looking for...
See you,
--
Lucas PersonaICQ #17635618
Hi,
CC wrote:
(...)Another option would be to echo the closing tags from within the conditional,
prior
to calling the die().
I already thought that, but if I want to use the die function inside another
function that can be called anywhere in the script (inside a table or form) I've
possibly
Hello,
I am making a PHP script that upload formmail into people web directory with
all the settings easily configured on a web based setup screen. Is there a
way to have php remove all ^M (Control M) from the file before it uploads it
to the server?
Thank you,
Here is a solution I can up with to solve all the CR and LF funniness coming
from different web browsers.
$input = ereg_replace("\r\n|\n|\r", "\n", $input);
-Original Message-
From: Brandon Orther [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 02, 2001 9:43 AM
To: PHP User Group
1 - 100 of 143 matches
Mail list logo