r),
to include_path in your php.ini and you're done.
>and more, importantly do i have 2 force my host to install it or can i do it
>myself. i'm just looking to use the file_find package.
Upload the desired package somewhere on your website and again
add the location to your i
Dear List!
Is there an environment variable in PHP, which holds the value
of the email-adress, which is stored in the user's browser?
Martin
-
Dipl.-Ing. Martin Schichl
SC&C Software, Communication & Consulting
The reason I asked about the .htaccess files is because I thought that
_maybe_ there might be something in prod site that allows jpegs and gifs to
be uploaded, or the other way 'round, on the dev site that stops the
uploading.
It's a shot in the dark but worth a look.
Martin
---
Is there any possibility of logging all the Insert, Update and Delete
Commands to a database of Mysql-Server? I would like to fetch them with php
and display them in HTML.
thanxs martin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
return to this:
Return array($realday, $month, $year);
and then change this line
Datereturn();
to either
$tmp = Datereturn();
$realday = $tmp[0];
$month = $tmp[1];
$year= $tmp[2];
Or this (which I think is a better way)
list($realday, $month, $year) = Datereturn();
so try something like this
for ($i = 5; $i < 6; $i += .1)
{
echo number_format($i, 1) . ", ";
}
-Original Message-
From: Devin Atencio [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 05, 2002 10:37 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Incrementing number by .1 or substracting .1
D
I believe the default from address is the user of the process that sends the
email, in this case, the web server.
(your isp's sys admins are going to be "happy" with you if you have too many
bounced emails.)
-Original Message-
From: Anthony Rodriguez [mailto:[EMAIL PROTECTED]]
Sent:
Hi
php-4.1.2
linux RH 7.2
I have created a small php extension. The extension works as expected
when I compile it using
$ ./configure --with-foo && make # foo is the extension
It gets compiled into the php binary. All is well, but I would like to
compile my extension as a loadable modules (
yes - look at system(), exec() and "backtick" in the manual (the last one
goes under a different name, I believe)
-Original Message-
From: wong [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 08, 2002 11:58 AM
To: [EMAIL PROTECTED]
Subject: [PHP] asking about .exe file
Can php execute .e
but what about on* - eg onClick, onSubmit, onMouseOver, etc?
-Original Message-
From: Jason Murray [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 09, 2002 2:17 PM
To: 'Leif K-Brooks'; [EMAIL PROTECTED]
Subject: RE: [PHP] Banning javascript?
Use strip_tags and only allow basic HTML (bas
um - pray
which OS and web server are you running?
-Original Message-
From: Chuck "PUP" Payne [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 09, 2002 4:33 PM
To: PHP General
Subject: [PHP] Help I killed PHP on mysever...
I have done something stupid and not PHP won't work. Everytime y
don't understand why it doesn't print out each value in the array... any help
would be VERY appreciated! Also, please CC me on any replies, as I'm subscribed to
the digest! Thanks!
Martin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
please CC me on responses since I'm on the digest! Thank you in advance!
Martin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
this looks like a good way to get a handle on file permissions, file writing,
reading, etc. Thanks for answering my question though! :)
Martin
>>> "Andrew Brampton" <[EMAIL PROTECTED]> 04/10/02 11:56AM >>>
Well that should write as soon as that php is requeste
I don't think I need to concern myself with that as of yet, since my site barely gets
any hits per day, I don't think there is the possibility of two people accessing it at
the same exact time. Thanks though :o)
Martin
>>> "Andrew Brampton" <[EMAIL PROTEC
throw in a phpinfo() on the page you want to access that variable on, go
down to the bottom and have a look at was variables are set.
HTH
Martin
-Original Message-
From: peter ferrigan [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 11, 2002 4:08 AM
To: [EMAIL PROTECTED]
Subject: [PHP
Re: about referencing A from B
You're exactly right - to make a reference, you'll need to either 1) make A
global, or 2) pass A as a parameter to B's constructor.
Re: (un)serialising maintaining reference, not copy
Sorry, haven't tried serialising an object with references in it before - I
guess
getimagesize()
-Original Message-
From: Steve Klugherz [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 10, 2002 3:11 PM
To: [EMAIL PROTECTED]
Subject: [PHP] image dimentions
Is there anyway to gather image dimentions from a gif or a jpg file? I need
to gather this information from use
emacs, editplus, phpedit, etc, etc. have a look on google
-Original Message-
From: Steve Klugherz [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 11, 2002 12:07 PM
To: [EMAIL PROTECTED]
Subject: [PHP] editors
Does anyone know of any text editors that understand the syntax of php? I
hav
you could set up c:\ as your web root :P
-Original Message-
From: Tiago Simões [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 11, 2002 11:04 AM
To: [EMAIL PROTECTED]
Subject: [PHP] PHP and localhost (newbie!!)
Hello everybody!
I'm just entering the wonderful world of PHP and i alread
use javascript
onClick="this.disabled=true;"
I think that's correct
-Original Message-
From: Jason Caldwell [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 11, 2002 1:09 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Clicking Once -- buttons?
Is there a way I can ensure the end user clicks th
why don't you just do an include "hello.html"; at the end of the file?
-Original Message-
From: Hiroshi Ayukawa [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 11, 2002 2:04 PM
To: [EMAIL PROTECTED]
Subject: [PHP] ini_set doesn't work
Hello,
I wnat to set auto_append_file in my own ph
use javascript
window.open() - call the window some unique name, that way it'll reuse the
window if it's already open
in the page for that window, use window.focus() to bring it to the front
look at http://developer.netscape.com/ and hunt around for the javascript
manual (I haven't been there for
> [snip mail header info]
>
> Hello,
>
> >why don't you just do an include "hello.html"; at the end of the file?
>
> Because, there are so many files.
> thanks.
>
> [snip mail footer info]
but you'd have to put set_ini() in each of your files (unless you're putting
it in an auto prepended file)
ed by" and that
kind of thing. Thanks!
Please CC me, I'm on digest.
Martin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
missing an "echo" -
-Original Message-
From: Craig Westerman [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 12, 2002 9:45 AM
To: php-general-list
Subject: [PHP] Pass variables via URL
I'm trying to set $image = imageA via a URL:
http://www.abc123.com/php001/image_switch.php?image=imag
turn the displaying of errors on, and set the error level to E_ALL
I'm thinking that you've got a error somewhere that's stopping the script
prematurely
-Original Message-
From: Phieu Huynh [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 12, 2002 10:49 AM
To: [EMAIL PROTECTED]
Subject: [PH
eu Huynh [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 12, 2002 12:31 PM
To: Martin Towell; [EMAIL PROTECTED]
Subject: Re: [PHP] "the document contained no data"
I don't know how to set erro level to E_ALL, can you give me some sample.
I did try different way
handle."
odd, I copied your code, changed the dir to "./" and it works for me
(php4.0.?, winnt)
if dir() doesn't work for you, you might need to use opendir(), readdir(),
etc
-Original Message-
From: Phieu Huynh [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 12, 2002 2:14 PM
To
!== is correct - it's checking for type, as well as value
"strict non-equality"
-Original Message-
From: Phillip S. Baker [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 12, 2002 3:38 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] "the document contained no data"
At 10:33 PM 4/11/2002 Thurs
does that code work if you set the directory path to "./" ?
-Original Message-
From: Phieu Huynh [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 12, 2002 3:33 PM
To: Martin Towell
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] "the document contained no data"
I also tr
I think that all chars (\0 to \255) are valid chars in php, from the looks
of it, php maintains the strings length, or something, so that you can have
\0 in the string
Martin
-Original Message-
From: Marco Laponder [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 12, 2002 4:50 PM
To
str_replace() does replacements on input,
but not on the soon-to-be output it is working on. Is this to be expected,
or would it be ok to modify the functionality of str_replace()?
/Martin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
ndow, have it close itself after it's finished processing.
Hope this helps.
Martin
-Original Message-
From: Impex Holidays Maldives / Hasan [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 24, 2001 4:16 PM
To: [EMAIL PROTECTED]
Subject: [PHP] OnUNload Scripts
Hi everyone,
I c
try $QUERY_STRING
-Original Message-
From: Clint Tredway [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 25, 2001 5:13 AM
To: PHP General
Subject: [PHP] URL variables
How do I reference URL variables..?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAI
>> if ((substr($sString,(strlen($sString)-1)!="-")) or
Looks to me that the bracketing is wrong...
try:
if ((substr($sString,(strlen($sString)-1))!="-") or
-Original Message-
From: Mark [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 25, 2001 11:12 AM
To: [EMAIL PROTECTED]
Subject: Re
Haven't tried this, but what about sending "nocache" headers to the browser
(??)
-Original Message-
From: Jason Caldwell [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 25, 2001 4:12 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Netscape 6.1 problem and SELECT lists / FORMS
NS6.1 remembers
($userid == "somename2" && $password == "somepassword2") ||
($userid == "somename3" && $password == "somepassword3")) {
Martin
-Original Message-
From: Gaylen Fraley [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 26, 2001 2:01
Question 2:
you'll notice the 4th parameter to mail() is the headers to send. You can
use something like:
"From: Name <[EMAIL PROTECTED]>\r\n"
or
"From: Name <[EMAIL PROTECTED]>\r\nReply-To: Name <[EMAIL PROTECTED]>\r\n"
(can't remember if this the right format for the name/email address, but
thos
if you're using unix, there's the "tail" command:
$results\n";
?>
-Original Message-
From: Yamin Prabudy [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 26, 2001 4:08 PM
To: [EMAIL PROTECTED]
Subject: [PHP] tail a file
Hi there I need help here
I got a file say it's a logs file and ke
what something like: $the_array=split("]*)", $html,-1); ??
so, everything that's not a ">"
-Original Message-
From: brendan [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 30, 2001 1:59 PM
To: [EMAIL PROTECTED]
Subject: [PHP] @#$@# Reg Expressions
thanks but it didnt work either ..
$k) echo $k."";
I had given preg_split a go but just got flummoxed with the need to
slash everything ..
Martin .. I'd tried that .. but i get an array count of 0 from
$the_array ..(from $the_array=split("]*)", $html,-1);
echo count($the_array);
Jack Dempsey wrote:
> ok, ar
Off track - seems like the only ppl awake now are ozzies :)
would I be right?
-Original Message-
From: Brad Hubbard [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 30, 2001 3:11 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] @#$@# Reg Expressions
On Tue, 30 Oct 2001 14:47, brendan wrote:
Here - I'm from NSW, Oz !!! can't make it any harder for you :)
-Original Message-
From: Brad Hubbard [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 30, 2001 3:42 PM
To: brendan; [EMAIL PROTECTED]
Subject: Re: [PHP] @#$@# Reg Expressions
On Tue, 30 Oct 2001 15:27, brendan wrote:
> Yo
ARGH!! You, you, missed!! :/
-Original Message-
From: Brad Hubbard [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 30, 2001 3:53 PM
To: Martin Towell; [EMAIL PROTECTED]
Subject: Re: [PHP] @#$@# Reg Expressions
On Tue, 30 Oct 2001 15:49, Martin Towell wrote:
> Here - I'm from
"$this" refers to the current object
so "$this->mode" refers to the variable inside the current object called
"mode"
Hope this helps
Martin
-Original Message-
From: Christian C. [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 05, 2001 12:17 PM
To
or, instead of MD5 (depending on how secure you want it) you could use
base64_(en|de)code
-Original Message-
From: James [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 05, 2001 12:46 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: [PHP] Secure transfer between servers
Perhap
I'm interested in knowing how to do this too. If it's at all possible.
Martin
-Original Message-
From: Marco Fioretti [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 05, 2001 9:36 AM
To: [EMAIL PROTECTED]
Subject: [PHP] URGENT: Can PHP on Linux deal with Access DB?
Hell
echo "";
for ($i = 6; $i <= 25; $i++) {
echo
stripslashes($models[$i])."";
}
echo "";
Martin T
-Original Message-
From: René Fournier [mailto:[EMAIL
this wouldn't be something similar to C's ungetch() ??
-Original Message-
From: Cleber S. Mori [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 09, 2001 3:16 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Append to STDIN
Hi again...
I had already RTFM...
Neither in exec or ``'s I found any
it's HTML
-Original Message-
From: Don [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 12, 2001 3:37 PM
To: php
Subject: [PHP] emailing attachments
Hi,
I have a class that allows me to send e-mail with an attachment. I have a
form that gathers information and I would like to allow
include "file";
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 12, 2001 3:44 PM
To: [EMAIL PROTECTED]
Subject: [PHP] executing another php.script
I am sure that I am just .. missing this ..
>From one script I wish to 'execute' another scrip
once you have read in the file and parsed it up, all you need to do then is
to find the correct "string" to execute and call it using :
eval($string);
happy coding
Martin T
-Original Message-
From: Galkov Vladimir [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 12, 2001
Hello,
does anybody have experience with function imap_mail_compose() ??
There is an example in the documentation but in my
script the "description" doesn't work. So the filename of the attachement
is not avaliable.
And why starts the $body-Array with $body[1] and not with bo
the forst param to mail is the extra headers to send
add in "Reply-To: [EMAIL PROTECTED]\r\n"
and/or "From: [EMAIL PROTECTED]\r\n" ( I think this one's correct )
-Original Message-
From: Brandon Orther [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 13, 2001 9:41 AM
To: PHP User Group
oops, "forst" is meant to be "forth"
-Original Message-
From: Martin Towell [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 13, 2001 9:44 AM
To: 'Brandon Orther'; PHP User Group
Subject: RE: [PHP] using mail
the forst param to mail is the extra he
try removing the quotes and see if that works
eg
$value1 = "100";
becomes
$value1 = 100;
and
for($i="$value1"; $i<="$value2"; $i++) {
becomes
for($i=$value1; $i<=$value2; $i++) {
Martin T
-Original Message-
From: Tyler Longren [mailto:[EMAIL
te1[0] );
Martin T
-Original Message-
From: py [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 13, 2001 2:47 PM
To: [EMAIL PROTECTED]
Subject: [PHP] date conversion and calculation problem...
Hello,
I have 2 date string like this
$t1 = "2001-11-12 17:30:10";
$t2 = "2001
hmmm... I just tried :
$value1 = 100;
$value2 = 1223109;
for($i = $value1; $i <= $value2; $i++)
{
echo "$i\n";
}
and it spat out all 223109 numbers (albiet after a VERY long time)
can't see how adding mysql code would affect the loop...
Martin T
-Original Messag
$name;
}
now fill in the blanks
Martin T
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 13, 2001 2:58 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Group by Howto
I have a database with 2 colums in it
-|--|
Place of work| Name |
bers then adding it back on
later
Martin T
-Original Message-
From: Tyler Longren [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 13, 2001 3:38 PM
To: Jack Dempsey
Cc: PHP-General
Subject: Re: [PHP] for loop problem?
I've ran it a few times without the MySQL code in there. Runs
tried using the original
format, strtotime() complained, saying it couldn't convert it.
Martin T
-Original Message-
From: sundogcurt [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 14, 2001 7:57 AM
To: GENERAL PHP LIST
Subject: [PHP] take date and convert to day of year
Hi guys, I
try adding the "nocache" header() calls to the page to force the broswer to
refresh.
See how that goes
Martin T
-Original Message-
From: Rodrigo Peres [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 14, 2001 9:43 AM
To: PHP
Subject: [PHP] silly question
Hi list,
I hav
"serialise" the array and make the "value" of a hidden field this value.
Then in PHP "unserialise" it.
-Original Message-
From: fitiux [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 14, 2001 10:18 AM
To: PHP General
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] javascript to php ???
Sent: Wednesday, November 14, 2001 10:28 AM
To: [EMAIL PROTECTED]; PHP General
Subject: RE: [PHP] javascript to php ???
On Wed, 14 Nov 2001 10:16:42 +1100, Martin Towell wrote:
>"serialise" the array and make the "value" of a hidden field this
>value.
>Then in PHP "u
L PHP LIST
Subject: Re: [PHP] take date and convert to day of year
I have tried to implement your code Martin, and I do thank you VERY MUCH
for the help, but your code seems to have the same trouble as mine, it
doesn't matter what date I start with, I end up with 364 as the day of
the year
Sorry about asking a non-PHP question here, but I thought that since I've
been helping others recently, you'll give me a bit of lee-way.
In IE, to find out how far down a page is scrolled, you can do
"document.body.scrollTop"
what's the equivalent in Netscape 6 ?
Thanks in advance
Martin
You can set the "Error-To: " header to some email address that runs a script
to remove the email address - other that that, no, not that I know of.
-Original Message-
From: Alex Chau [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 14, 2001 1:31 PM
To: [EMAIL PROTECTED]
Subject: [PHP]
OK, just found it!
window.pageYOffset
-Original Message-
From: Martin Towell [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 14, 2001 1:25 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Non-PHP question
Sorry about asking a non-PHP question here, but I thought that since I've
use : @$name_of_chechbox_3 to suppress warnings
or at the start of the file do :
if (!isset($name_of_chechbox_3)) $name_of_chechbox_3 = "";
or something similar
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 14, 2001 5:03 PM
To: [EMAIL P
It's probably thinking that "Do Not Reply" is a user name, so try:
"Do Not Reply <[EMAIL PROTECTED]>"
and see how that goes
-Original Message-
From: Brandon Orther [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 15, 2001 10:50 AM
To: PHP User Group
Subject: [PHP] mail() function
Hel
if you're going to go the "break string in words" way, then try
$words = explode(" ", $string);
-Original Message-
From: Gaylen Fraley [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 15, 2001 2:54 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Controlling length of table data
This is reall
strpos return false if the search fails. You have therefore to test for:
if (strpos(...,...) === false)
or
if (strpos(...,...) !== false)
Martin
Jtjohnston wrote:
> I suppose I'm doing this right? I want to know if the user entered
> "\.jpeg" or "\.jpg"
out of the php-documentaion. Where can I start to
learn reg-exp? Should I use the ereg- oder preg-functions? Help!
Martin
--
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]
> if (!strpos(...))
> will be better...
Why?
--
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]
I think it's just a matter of taste - I haven't found any noticable
differences between the two.
Sometimes the code it more readable with raw html, sometimes with echos.
-Original Message-
From: Brad Melendy [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 19, 2001 11:37 AM
To: [EMAIL P
add:
$mailheaders.="CC: $other_email\n";
$mailheaders.="BCC: $other_email\n";
should also work but I haven't managed to get blind carbon copy to work for
me :(
-Original Message-
From: Anthony Ritter [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 19, 2001 12:49 PM
To: [EMAIL PROTECTE
is the same sort of thing for strings in PHP.
Martin
-Original Message-
From: George Whiffen [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 21, 2001 11:39 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Different syntax = different performance (concatenating
assignment)
Dear All,
I h
Anyone know how one can "import" a flash file into PHP for use with "ming"
or something similar?
It's an easy to make a flash animation with ming, but I'd like to be able to
modify an existing flash file.
thnx
Martin
use something like:
customer_info["customer_info[shipto_address_line1]"].value =
customer_info["customer_info[billto_address_line1]"].value;
ie. each form element can be referenced by name within the elements array:
frm.name --> frm["name"]
-Original Message-
From: Steve Maron
for the first case - using "\n", try :
ereg_replace('\n+', '\n\n\n', $str)
for the second case - using "", try :
eregi_replace('()+', '', $str);
Martin
-Original Message-
From: Gaylen Fraley [mailto:[EMAIL PROTECTED]]
Se
Hi all,
Is there a way of generating a list of files that have been included, in
php3, similar to php4's get_included_files() ??
If so, can you supply code plz?
Thnx
Martin
doesn't win2k files go under C:\winnt ?
what about looking under the php directory???
-Original Message-
From: John Monfort [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 23, 2001 1:06 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Missing PHP.ini
Hello everyone!
I upgraded my system f
you said you tried a text field, have you tried a hidden field?
does it HAVE to be in $HTTP_POST_VARS ?? can you append it to whatever link
you have using "?unique_id=$id" or something similar?
Martin T
-Original Message-
From: C. Bensend [mailto:[EMAIL PROTECTED]]
Se
T(EventStartDate, '%W %M %D %Y')
AS FormattedEventStartDate, DATE_FORMAT(EventEndDate, '%W %M %D %Y') AS
FormattedEventEndDate, TIME_FORMAT(EventStartTime, '%r') AS
FormattedEventStartTime, TIME_FORMAT(EventEndTime, '%r') AS
FormattedEventEndTime FROM comcal
"if"
something like:
if ($db == 1) connect to db1
else if ($db == 2) connect to db2
else if ($db == 3) connect to db3
would that do?
-Original Message-
From: Marts [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 23, 2001 11:45 AM
To: [EMAIL PROTECTED]
Subject: [PHP] S
try : form_name["cb[]"]
-Original Message-
From: Christian Dechery [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 28, 2001 11:53 AM
To: [EMAIL PROTECTED]
Subject: [PHP] how to acess php array var in Js?
If I have a series of checkboxes like this:
This is 1
This is 2
This is 3
Also, I've found that if an SQL statement isn't doing what you're expecting
it to do, then echo it out and copy/paste it into the database querier
(mysql, sqlplus, isql, etc). I've found these quieriers give better error
messages than what you get back through PHP
-Original Message-
From
try changing
to
-Original Message-
From: Ryan Stephens [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 28, 2001 4:13 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Newbie Image uplaod question
ok... ive tried this but no go:
<->
function
rf: http://www.php.net/manual/en/features.file-upload.php
$userfile - The temporary filename in which the uploaded file was stored on
the server machine.
$userfile_name - The original name or path of the file on the sender's
system.
$userfile_size - The size of the uploaded file in bytes.
$user
I believe there's no row count function for oci, so could you change the
logic to:
while(OCIFetchInto ($curs, $data)) {
// normal code here
}
if($isLastRecord)
// do something
??
Martin
-Original Message-
From: Philip Hallstrom [mailto:[EMAIL PROTECTED]]
Sent: Thursday, Nov
you might need to set the content-type...
-Original Message-
From: Bryant Brabson [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 29, 2001 9:56 AM
To: [EMAIL PROTECTED]
Subject: [PHP] include or fread a binary file?
I have a flash file that I need to embed in an iframe on a page. I
Can someome recommend such a book to a relative newcomer. I'm looking
for something on writing carts and the processing that goes thereafter.
Martin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROT
it's a ternary operator
$string1 = (isset($string2)) ? $HTTP_GET_VARS['pid'] : "";
is the same as
if (isset($string2))
$string1 = $HTTP_GET_VARS['pid'];
else
$string1 = "";
-Original Message-
From: Gerard Samuel [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 29, 2001 12:28 PM
take a look at your table definiton.
maybe some of your fields have a diferent definition as the value you want
to insert. e.g.
fax_number in your query-string is defined as string and in your table as
integer or something like this
regards
martin
-Ursprüngliche Nachricht-
Von
that seems to be easy:
put every string and varchar in single quotes eg '$surname'
and every number like $fax_number without quotes
regards martin
-Ursprüngliche Nachricht-
Von: Payzillee [mailto:[EMAIL PROTECTED]]
Gesendet: Donnerstag, 29. November 2001 13:16
An: [EMAIL
it's one of the options in the php.ini file, if i'm not mistaken
-Original Message-
From: Mike [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 30, 2001 11:28 AM
To: [EMAIL PROTECTED]
Subject: [PHP] How do I put a path to Sendmail in php script??
The server that I am using has Sendmail
use a standard form...
and in your php code, use, $username and $password
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 30, 2001 11:23 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] PHP Authentication
On Fri, 30 Nov 2001 11:02:45 +1030, [
try changing this line
fputs($fd,$Images,strlen($Images));
to
fputs($fd,$Images);
as you don't need to specify the length. If you don't specify the length,
it'll write the entire string. see how that goes...
-Original Message-
From: Mike Gifford [mailto:[EMAIL PROTECTED]]
Sent: Friday
There is a limit to the size of a GET request - can't remember what it is
though
POST's can be any size however.
Maybe a search of the RFC's might tell you the limit of GET's
http://sunsite.dk/RFC/
-Original Message-
From: Don [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 04, 2001
1001 - 1100 of 1955 matches
Mail list logo