hi,
does anyone know of a php-based combined mailing list and bulletin
board/forum?
something like a php lovechild of majordomo and yabbse?
any pointers greatly appreciated!
taylor
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
i might be crazy, but why don't the many CMS, forum, link directory,
etc packages integrate with a unified user manager?
is this possible? is there perhaps an xml standard for contact
datatypes that could be used?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http:/
name or some sort of useful information and passing
it to the registered tick function.
Thanks for any help
Cheers
_
Simon Taylor
AfriTol (Pty) Ltd.
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
Hi all,
I'm writing a guestbook and message in the guestbook might contain & < > so
to make sure this wasn't a problem I was advised to great entities in my xml
file like so
]>
and when I write to my xml file if I convert all & < > characters to &
< > problem solved.
I'm having
Another problem I have is I did $message = str_replace("\n","",
$message);
and instead of getting
Helo <
Hey
Hey
I have
Helo <
Hey
Hey
Any ideas please?
Thank you
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Got to love people who use all capitals.
How would the scammer profit from this? I guess given your full details and
bank number they can do what?
Cheers
"John Meyer" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> php
>
> How did a Nigerian oil scam e-mail ge
called...?
Thanks,
Taylor
Taylor Lewick
Unix System Administrator
Fortis Benefits
816 881 6073
"Help Wanted. Seeking Telepath..."
"You Know where to apply."
Please Note
The information in th
Hi Everyone,
OK I have looked through the archives and all over the net. I apologise if
this has been seen before but here goes :
No matter what switches I use I get the same error when I "make" ./configure
goes fine. RedHat 8.1 beta PHP 4.3.1 the error is :
ext/mysql/libmysql/my_lib.lo(.text+0x3
Ok, this may have already been posted to the list already, but the
archives don't seem to like the & and && characters.
I'm running into some code that looks like this:
Define('INPUT', 2);
if($search->level & INPUT) $tmp.= $search->input();
Ok, what's the & mean?
As far as I could tell from
Where can I read more about this? I'm not sure that I understand why 4
& 4 == 4.
-Original Message-
From: Greg Beaver [mailto:[EMAIL PROTECTED]
Sent: Friday, March 07, 2003 11:04 PM
To: [EMAIL PROTECTED]; James Taylor
Subject: [PHP] Re: Difference between & &&
I'm having trouble with the ldap_add function in my script. There are 4
possible classes in the ldap schema that would be used - organization,
person, qmailUser, inetOrgPerson. The ldap_add script will every time
return
LDAP-Errno: 65
LDAP-Error: Object class violation
UNLESS I include data for
First,
I need the code to replace the link in a string, like
with
ereg_replace("''", "''",
$old);
That was the closest i got, but (.*) makes it take the first BASE HREF, and
the last ">, which sucks.
Can anyone help?
Second,
I hate asking for help on Regexps...I would like a tutorial online t
Cant you edit the httpd.conf?
I know there might be plenty of reasons why not to...but im just checking.
=)
Server mydom1.com
Alias mydom.com
"Anthony" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Thanks for the links, I'm going through them now
> as far as the location thin
ng if there is a way to
pass a variable on with the script to that I can program the button to
"getURL $nextpage" or something of the sort. Thanks a bunch,
Taylor Smith
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
VideoIsland.com is looking for genies of LAMP to who can hit the ground
running and work with a fast-moving team based in London over a 1-2 month
period and possibly longer if required.
You will have played a leading role in all aspects of the development of
Object orientated e-commerce service
I have recently made a server on FreeBSD. I've run into 2 problems.
1. I cant get PHP to compile with mysql
2. I can use mysql in PHP, but if i use phpMyAdmin, with user/pass...I
ALWAYS get No databases. If i do user/no pass, it works.
wth?
--
PHP General Mailing List (http://www.php.net/)
help me
grasp what its all about.
Thank you,
Taylor York
DreamStar Group
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
() 's, and /'s, and .'s, mess it all
up. And suggestion on what to do? any function to convert all of the
special regexp characters ()[];.^*$ etc to work correctly?
Thank You,
Taylor York
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Is there any string function to put backslashes on any characters that are
used in regular expressions? IE ()[];.^*$ etc.
Thank you,
Taylor
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Well obviously - cos MySQL rocks!!, but seriously I also did some tests and
got variable results from different db's - even got an odbc connection to
access to run faster than mysql at one stage!! - something tells me there
are other factors contributing..
Cheers
Simon
-Original Message-
me, but being a relative newbie I am sure there is a
better way to handling forms.
Any ideas, comments appreciated.
Thanks
_____
Simon Taylor
AfriTol (Pty) Ltd.
? [EMAIL PROTECTED]
Å+27 12 361 3303 ext 257
Å+27 72 471 1833
Æ+27 12 365 3810
--
PHP General Mai
Hiya,
Try using $_SESSION['variablename']
To refer to session variables.
Cheers
Simon
-Original Message-
From: Stéphane Pinel [mailto:[EMAIL PROTECTED]]
Sent: 11 October 2002 11:16
To: [EMAIL PROTECTED]
Subject: [PHP] Updating session variables values during session
Hi,
PHP 4.1.X
I'm
lto:[EMAIL PROTECTED]]
Sent: 11 October 2002 11:32
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Updating session variables values during session
Same problem...
Thanks.
---
Stéphane Pinel
[EMAIL PROTECTED]
iChat : [EMAIL PROTECTED]
Le 11/10/02 11:26, « Simon Taylor » <[EM
Hehe - no prob - you can also set it to always start in php.ini if it suits
your needs.
Cheers
Simon
-Original Message-
From: Stéphane Pinel [mailto:[EMAIL PROTECTED]]
Sent: 11 October 2002 12:10
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Updating session variables (resolced: shame on me)
http://www.boutell.com/gd/
-Original Message-
From: Jean-François Marseaut [mailto:[EMAIL PROTECTED]]
Sent: 14 October 2002 13:51
To: [EMAIL PROTECTED]
Subject: [PHP] simple question
Where can I found last version of the GD library ?
--
PHP General Mailing List (http://www.php.net/)
This sounds a lot harder than it is, all you have to do is first of all make
some space ion your db then you need to cache searches that users have done.
Store the group of searches for unique users, then if someone does a search
match it against the cache and pop up all items which were retrieved
select MAX(colname)
from table;
Cheers
Simon
-Original Message-
From: Phil Schwarzmann [mailto:[EMAIL PROTECTED]]
Sent: 15 October 2002 09:29
To: [EMAIL PROTECTED]
Subject: [PHP] Getting the highest number in a column
Using PHP and a MySQL database, I want to grab the highest number i
Ramesh,
Since php 4.2.0 register_globals is always set off - look in your php.ini
Cheers
Simon
-Original Message-
From: Ramesh Nagendra Pillai [mailto:[EMAIL PROTECTED]]
Sent: 15 October 2002 08:30
To: [EMAIL PROTECTED]
Subject: [PHP] PHP Upgrade
Hai all
I am using Apache/PHP4.0.1/Pos
heers
_
Simon Taylor
AfriTol (Pty) Ltd.
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
To me this is a lot of work and processing for limited benefits, a simple db
abstraction layer provides you with a divide between you db queries and the
presentation of your site, what benefits do you see in doing this?
Cheers
Simon
-Original Message-
From: Alexandru COSTIN [mailto:[EMAIL
Sure in this context I agree with you, but how often do you have a website
which needs to publish in many different formats? I have designed and built
websites for a while and have never come across such an application.
But if I were ever I would definitely invest the effort that is required,
but
Tony,
I am not sre which is faster, but I am pretty sure you wouldn't be able to
measure it in milliseconds..
Cheers
Simon
-Original Message-
From: Tony Crockford [mailto:[EMAIL PROTECTED]]
Sent: 16 October 2002 10:48
To: Php-General@Lists. Php. Net
Subject: [PHP] Script optimisation
H
Jack,
This is in the manual under pdf functions and you will need this library.
http://www.pdflib.com/pdflib/index.html
Cheers
Simon
-Original Message-
From: Jack [mailto:[EMAIL PROTECTED]]
Sent: 16 October 2002 10:56
To: [EMAIL PROTECTED]
Subject: [PHP] How to convert the text file into
While were on the subject, Is it possible/wise t register a person's session
id in you useraccess db when they log in then always assign them the same
id, then if the session has not expired the user will pick up vars stored
there..
Cheers
-Original Message-
From: Adam Voigt [mailto:adam@;
Heya folks, not sure if this is more of a php question or an html question,
though I'm right now leaning towards a 50% php, 50% html, so I think this is
on topic still.
I have a form filled with checkboxes, each representing one of the 50
states. A user can check as many states as they want, then
I have a single page site I'm working on that displays the contents of your
current session. Users can clear the contents by clicking a link that
triggers a $PHP_SELF?clear=1 - Before any headers are sent out, the script
checks for $_GET['clear'], and if it's set, it does a session_destroy();.
For
There's got to be a better way to go about this: I am constantly doing mysql
queries where I am doing
a count(), so a sample query would be like this: "select count(*) from
database". I'm expecting only
ONE value back exactly, and that's the count results. However, to get this
data into a variabl
Just curious if anyone out there knows how to do a "Please wait" type screen
while the script is running in the background.. Like say PHP is doing a
large select from a database, while the user waits for the script I'd like a
graphic or something saying to wait...
Any ideas?
--
PHP General Mai
e for them, not sure what I am doing wrong.
Any ideas appreciated.
Thanks
_____
Simon Taylor
AfriTol (Pty) Ltd.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
sort of
thing.. At the moment I use homesite which is pretty cool and makes all me
lines come out in pretty colours, but I am getting frustrated as things are
growing..
Thanks..
_
Simon Taylor
AfriTol (Pty) Ltd.
--
PHP General Mailing List (http://www.php.net
Has anyone used the PHP functions to integrate with Payflow Pro? Before I
fork out the cash to sign up for an account with them, I'd like to know how
solid the SDK and integration is. Thanks!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Ok, I have something like this set up:
1. User logs into site. Authenticates through a mysql table which basically
just has username/password columns. Session is set.
2. User goes through site looking for information he'd like to purchase
based on specific fields. After the gathering of informa
Thank you sir, problem solved :)
-Original Message-
From: Justin French [mailto:justin@;indent.com.au]
Sent: Sunday, November 10, 2002 11:21 PM
To: James Taylor; [EMAIL PROTECTED]
Subject: Re: [PHP] Restrict file access from web users?
You still need to restrict the files from being
I am having a lot of trouble with the $_name, $_size, and $_type
variable extensions. I have a basic file upload system however it is
within a function. Sometimes when I declare the aforementioned
variables in a global statement such as global $file_name I can get a
value for _name, other times,
$Size/1023;
$Size = number_format($Size, 2);
$Size = $Size." mb";
}
$type = GetExtension($row[filename]);
if($type == "jpg" or $type == "gif" or $type == "png" or $type == "txt" or $type ==
"sql")
$details = "Details";
else
$det
As a general rule it is always good to store data that is secure in a encrypted
format. My website for example uses a mysql database and I store the encrypted mysql
password in the cookie so I get somethign like 435gcg34tsskhj57 to equal 123. It's
far more secure because cookies are on the u
Hmm, I haven't heard of such a thing. That's kinda weird though because just yesterday
I modified my timeout settings for my script that parses logfiles that are several
thousand lines long, and it worked. Did you perhaps forget to reboot the server? If
you have my suggestion is perhaps taking
Perhaps you could try a cURL or some other FTP approach?
- Original Message -
From: Jeff Bearer
Sent: Saturday, June 15, 2002 11:16 AM
To: [EMAIL PROTECTED]
Subject: [PHP] saving a jpeg via HTTP
What is the best way using only PHP to grab a image file off a website a
d save it locally?
The 3rd parameter is an optional time to expire parameter, if you don't want to set
it, leave it out. setcookie(cookiename,"value"); works fine
- Original Message -
From: Lazor, Ed
Sent: Saturday, June 15, 2002 11:48 AM
To: php-general
Subject: [PHP] Can't set a cookie?
Hi Everyone,
This is all really straight forward stuff. Here's some code that will get the file
parsed to an array, what you do from there is up to you.
Note: if you have a precise structure for your lines you can say to read from point a
to b using substr(). For example, let's say the first name is exa
- Original Message -
From: "Fargo Lee" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 12, 2002 4:14 PM
Subject: [PHP] How do I hide download link ...
> Hi, my customers go through a password authentication to access a link on
my
> site to download a file. I want to pr
has a non specific
name.
//Step 3: Update Location (don't want to lose the location)
$query = "update file_locations set location=$newlocation where
file_name='secure.zip'";
mysql_query($query)
Best of Luck to you,
Nathan Taylor
ModDev.net
Please do not click yes when it asks you to send the reciept on the email
about hiding a download link, I hadn't realized the reciept function was on
and it's really getting annoying.
Cheers,
Lakario
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/uns
> if (!session_is_registered("SESSION")){
> print ("You must Log-In to access this page\n");
> print ("");
> print ("Click here to Log In");
> }
print ("");
should be:
print("Sign-in"); // or something like that
But anyways, I don't think that's quite what he wanted. I t
Open your browser, right click and hit properties on any page.
- Original Message -
From: "Brian McGarvie" <[EMAIL PROTECTED]>
To: "Nathan Taylor" <[EMAIL PROTECTED]>; "Bret L Conard" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Tu
Just dump the data and structure to an SQL file, choose save as file, then
run all the code in the file on the next server.
Taylor York
"Phil Schwarzmann" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> The lazy and worthless a-ho
I am having a problem with two scripts that use the same function name.
The two functions do the exact same thing...but when the include files are
called, the second file recieves a redeclare error.
Suggestions?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://w
I would suggest posting the vars to a page, which will open up a new
javascript window, then .write("") the values into the javascript window
from the main page.
OpenWindow = window.open("", "newWindow", "height=400,
width=300,toolbar=yes,scrollbars=yes,menubar=yes");
OpenWindow.document.write("
And sorry but no, I can't just delete one of the functions...these scripts
are used in many other places by themselves without the other..so script A
has to be able to have this function on its own page, and so does script B
on its own page.
"Taylor York" <[EMAIL PROTECTED]
Hi every1, i am currently undertaking some research into PHP security and its flaws /
loopholes etc. What i am looking for is information on any aspects of PHP that can be
hacked or cracked and how developers have got around these problems.
Any help would b much appreciated
Thanks
I'm trying to change some information in the header...lets say that User
Agent for example...but it just wont change.
putenv() will change the User Agent..but nothing else will
user agent: ";
echo getenv("HTTP_USER_AGENT");
?>
Suggestions?
--
PHP General Mailing List (http://www.php.net/)
T
on.
Can anyone offer ideas? I have already tried both declaring an absolute path and
checking the variables arlready.
Thanks,
Nathan Taylor
']. Somehow this doesn't seem quite right
to me. Granted, it still works just as well but it sort of breaks the traditional
naming structure for an array and really jumbles the logical flow of things. Do you
think this is worth reporting?
Regards,
Nathan Taylor
ze() function. That function takes
the integer which is your total size of the directory and converts it into a nice
formatted number either in kb, mb, or gb accordingly. You'll find it uses true file
size as well, not "industry standard" sizing.
Enjoy,
Nathan Taylor
- O
Are you looking to make a new HotScripts style website or just a similar menu system?
- Original Message -
From: Ryan A
To: [EMAIL PROTECTED]
Sent: Saturday, October 04, 2003 9:28 AM
Subject: [PHP] hotscripts style program
Hey,
Anybody have any code or links to explain ho
Does it continuously ask or just twice? I've found a weird issue with .htaccess where
if the domain name is a mask for a subdomain host and you try to access an .htaccess
protected page it will prompt you for the password, redirect you to the subdomain and
then prompt you again.
Nathan
WTF is this?
- Original Message -
From: Francis Weeny
To: [EMAIL PROTECTED]
Sent: Wednesday, October 08, 2003 10:30 PM
Subject: [PHP] Congratulations You Win
SUNSWEETWIN PROMO LOTTERY,THE NETHERLANDS.
ALFONSTRAAT B56,
1002 BS AMSTERDAM, THE NETHERLANDS.
TO THE MAN
ating a
credit cards with both preprocessing by the form to determine the pattern validity and
post processing by a bank to confirm the actual card validity.
Your help would be greatly appreciated.
Best Wishes,
Nathan Taylor
doesn't
make the process any easier.
Edward Dudlik
Becoming Digital
www.becomingdigital.com
- Original Message -
From: "Nathan Taylor" <[EMAIL PROTECTED]>
To: "php-general" <[EMAIL PROTECTED]>
Sent: Wednesday, 08 October, 20
I'll take a look through that and do as much further research as is possible. Thanks.
- Original Message -
From: Craig Lonsbury
To: Nathan Taylor ; php-general
Sent: Wednesday, October 08, 2003 4:04 PM
Subject: RE: [PHP] Credit Card Validation
this is a good explan
Sure, this isn't tough at all as long as you keep track of your times.
When the user logs in store the time() in a cookie or database. Then to check the time
since do this
\n";
echo "Then: ".date("m/d/y g:ia", $timesince)."\n";
?>
That should be right, I think...
- Original Message
Look into JpGraph, it rocks my world.
http://www.aditus.nu/jpgraph/
Nathan
- Original Message -
From: rick rice
To: [EMAIL PROTECTED]
Sent: Thursday, October 09, 2003 2:30 PM
Subject: [PHP] Need Charting Utility
Can anyone suggest a good charting utility for PHP running
$PHP_SELF is a variable that is a variable that has limited scope and as a rule of
thumb should never be used. It is a very sloppy way to code. I advise you stick to
$_SERVER['PHP_SELF'].
- Original Message -
From: Boris Sagadin
To: [EMAIL PROTECTED]
Sent: Monday, October 20,
Are you looking for something that job listings are added to by companies or something
that crawls the web for listings?
Nathan
Hey guys,
Just a quickie: where are the archives for this list? What URL?
Thanks,
Nathan Taylor
Thanks John and and Chris.
- Original Message -
From: John Nichel
To: [EMAIL PROTECTED]
Sent: Wednesday, October 22, 2003 2:26 PM
Subject: Re: [PHP] Archives
Nathan Taylor wrote:
> Hey guys,
>
> Just a quickie: where are the archives for this list?
I am a recent fan of the single-quotes. I used to use double only but when some gurus
told me the disadvantages I converted my entire project over to single quotes. Single
quotes are ideal because as far coding goes it greatly decreases the time of
development when you don't have to worry abou
Perhaps $_SERVER['REQUEST_URI'] in combination with $_SERVER['QUERY_STRING'] ?
Nathan
- Original Message -
From: Hanuska Ivo
To: [EMAIL PROTECTED]
Sent: Friday, October 24, 2003 6:10 AM
Subject: [PHP] HTTP request contents
Hi everyone,
I need to know, if there is a poss
;s make sure it isn't used.
ini_set('arg_separator.output', '&');
Cheers,
Nathan Taylor
- Original Message -
From: Burhan Khalid
To: [EMAIL PROTECTED] ; [EMAIL PROTECTED]
Sent: Friday, October 24, 2003 3:43 PM
Subject: Re: [PHP] w3c-compliant for
Undefined index: _blah_ in _blah_." Most of these are array indices in
super globals such a $_GET, $_SESSION, etc. How can I get rid of these little buggers?
Thanks,
Nathan Taylor
Sure Jon, pimp Daeken's channel...
BinaryPHP is not what he needs
Nathan
- Original Message -
From: Jon Kriek
To: [EMAIL PROTECTED]
Sent: Friday, October 31, 2003 4:11
PM
Subject: [PHP] Re: IRC
server: irc.freenode.netchannels: #phpfreaks, #php,
#binaryphp-- J
They tend to use dlls and the sort, but that question is rather inappropriate for this
list...
- Original Message -
From: John Ryan
To: [EMAIL PROTECTED]
Sent: Saturday, November 01, 2003 12:33 PM
Subject: [PHP] Web Applications and C++?
I assume sites like Amazon and Ebay
Why must the powers that be create such mind-bendingly painful terms such as these?
They are the sort of things that send my brain into an infinite loop.
Nathan
- Original Message -
From: Joachim Krebs
To: [EMAIL PROTECTED]
Sent: Saturday, November 01, 2003 3:23 PM
Subject: R
Why must the powers that be create such mind-bendingly painful terms such as these?
They are the sort of things that send my brain into an infinite loop.
Nathan
- Original Message -
From: Joachim Krebs
To: [EMAIL PROTECTED]
Sent: Saturday, November 01, 2003 3:23 PM
Subject: R
Your html is very sloppy actually.
Use:
$xyz = 'Hello World';
echo '';
- Original Message -
From: Daniel Clark
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, November 04, 2003 6:49 PM
Subject: Re: [PHP] text input truncated
> $xyz = "Hello World";
>
>
Lets say im trying to replace every occurance of 'hello' with 'hi'.
heres a sample page
hello there!
This would simply change to
hi there!
but what if it had an img?
hello there!
It would then be,
hi there!
It would then be completely jacked up. Not only would it do the wrong
Ya, i know it will be done with regular expressions, but how?
I dont know how to format that kind of expression
>>
[snip]
It would then be completely jacked up. Not only would it do the wrong
img,
but the tag in general would be screwed be cause of the bold tag. So
what
can I do?
[/snip]
Skip th
Well, I'm speaking from imagination here but I imagine the effect could be obtained by
creating a series of layers to one item in a loop, changing the alpha transparency
slightly each time as well as shrinking the size of the image. You'd start with 75ish
alpha level and then loop through one l
sleep() should do what you need.
www.php.net/sleep
Regards,
Nathan
- Original Message -
From: Donpro
To: php list
Sent: Monday, November 10, 2003 12:49 PM
Subject: [PHP] Pausing in PHP
Hi,
Is there a PHP function that would allow the script execution to pause 'N'
Hello,
Zend in no way dictates PHP, they are simply a major player in it's development and
are just as important as the PHP community. Zend develops much of the core extensions
for PHP but at the same time, they do not own or even run.
Nathan
- Original Message -
From: John Smith
Well that's all good and grand but why increase the size of the distribution when it's
not necessary to? Nobody wants to download something they don't necessarily need
included.
Nathan
- Original Message -
From: John Smith
To: [EMAIL PROTECTED]
Sent: Saturday, November 15, 20
That's simple, just modify your Apache httpd.conf on the line where it says something
along the lines of:
AddType application/x-httpd-php .php4 .php .php3 .inc
change it to:
AddType application/x-httpd-php .php4 .php .html .php3 .inc
- Original Message -
From: BennyYim
To: [EMAI
This shouldn't have anything to do with your server config, but rather the forms
themselves.
What method are you sending the form(s) with?
Nathan
- Original Message -
From: b b
To: Jay Blanchard ; [EMAIL PROTECTED]
Sent: Tuesday, November 18, 2003 4:24 PM
Subject: RE: [PHP]
There is nothing special to be done with the form itself for it to support file
uploading aside from supply a browse field:
As for uploading it, here's some untested code:
if(!empty($_FILES['file']['tmp_name'])) {
$name = strtolower(eregi_replace('#| |\?|!', '', $_FILES['file']['name']))
There is nothing special to be done with the form itself for it to support file
uploading aside from supply a browse field:
As for uploading it, here's some untested code:
if(!empty($_FILES['file']['tmp_name'])) {
$name = strtolower(eregi_replace('#| |\?|!', '', $_FILES['file']['name']))
Oh and also, don't forget to set: enctype="multipart/form-data" in the tag.
Nathan
- Original Message -
From: Nathan Taylor
To: PAUL FERRIE ; [EMAIL PROTECTED]
Sent: Saturday, November 22, 2003 2:20 PM
Subject: Re: [PHP] Form with browse for file to upload &qu
Glad to be of service. =)
- Original Message -
From: PAUL FERRIE
To: [EMAIL PROTECTED]
Sent: Saturday, November 22, 2003 3:52 PM
Subject: [PHP] Re: Form with browse for file to upload "ftp"
Got it working :)
thanks for the help
Paul
"Paul Ferrie" <[EMAIL PROTECTED]>
There is a nice function called sendmail available in the comments on php.net/mail. I
use that regularly as it inserts all the necessary headers and supports multiple
attachments. It's well worth considering...
Nathan
- Original Message -
From: Eugene Lee
To: [EMAIL PROTECTED]
You're not making any sense my friend. If you want to fill form field then supply them
with a value="" value. There's nothing more to it.
- Original Message -
From: Anonymous
To: [EMAIL PROTECTED]
Sent: Wednesday, November 26, 2003 5:37 AM
Subject: Re: [PHP] PHP script that f
I believe... that the .bat file MUST be on the server for PHP to execute it.
Nathan
- Original Message -
From: Reidar Solberg
To: [EMAIL PROTECTED]
Sent: Sunday, November 30, 2003 1:10 PM
Subject: [PHP] Accessing .bat file from PHP
I want to start a .bat file on my local p
1 - 100 of 829 matches
Mail list logo