Hi friend,
http://www.php.net/manual/en/features.file-upload.php
And take a look to the User Contributed Notes
--jp
At 13:03 03-09-2002 -0700, Clemson Chan wrote:
Hi, I am new to this group.
I am trying to figure out how to let people to upload image files to my
website.
My ISP is using PHP 3
My guess would be a regex replace function. The latest version of Phorum has
this capability. You could grab the source form phorum.org and have a look.
-Original Message-
From: Tony Harrison [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 03, 2002 2:23 PM
To: [EMAIL PROTECTED]
Hi,
I recently took a few minutes to install cURL library. A few minutes
later, I had a working PHP script, which uses cURL to send some data to
a remote server and get a response. I then, of course, parse the
response and PHP creates the appropriate page for output to end user.
Worked
?
phpinfo();
?
tell you most things about php and some things about web server and dbs
- Victor www.argilent.com
-Original Message-
From: Clemson Chan [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 03, 2002 4:04 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Uploading file
Hi, I am
Not tested, but what if you change
$b[0] = new one();
$b[1] = new one();
to:
$this-b[0] = new one();
$this-b[1] = new one();
On Tue, 3 Sep 2002, Rodrigo Dominguez wrote:
I have a problem, I can't create an array of classes into a class, for
example:
I have a problem, I can't create an array of classes into a class, for
example:
class one {
var $a;
function foo() {
echo foo;
}
}
class two {
var $b;
function initialize() {
$b[0] = new one();
$b[1] = new one();
}
}
$test = new two();
I made a mistake while I was writting the example, in my original code I
wrote it as you did, with $this-b[0] = new one(); but it doesn't work.
Thank you.
Philip Hallstrom [EMAIL PROTECTED] escribió en el mensaje
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Not tested, but what if you change
Definately check out the URL Juan posted first to learn how you can easily do
this yourself.. You can also check
http://www.hotscripts.com/PHP/Scripts_and_Programs/ and look into the /File
Manipulation/Upload Systems and /Form Processors directorys there for some
pre-written upload scripts.. You
I added the header and blank line to my $outgoing_data but no luck. It
was like...
?
$outgoing_data=
CustomHeader: Test\n\n
?xml version=\1.0\?
..xml document..;
..curl exec (see prev message or email me)..
?
Any cURL XML phreaks out there? Or someone that can tell me how to pass
an HTTP
str_replace();
http://www.php.net/manual/en/function.str-replace.php
Here's an example how you might use str_replace() to create your own
scripting syntax..
---
$myformtxt = '[i]Hello[/i] [B]world[/B]'; // pretend this came from a form.
function parse_script($str)
{
// The array could be
I am having problems getting the ftp_put command to upload a file to an
apache server
i get this error
Warning: error opening C:\\WINDOWS\\Desktop\\Jason\\jjmckay\\testaudio.mp3
in /home/virtual/site31/fst/var/www/html/clientadmin/mp3upload.php on line
32
here is the code
$dest =
Hello,
I was suggested by a user at SF to write you to see if you could provide
me some ideas of what is going wrong with the new PHP command-line at
SourceForge.
I used to do some daily work in PHP and crontab at my site in SF but now
it is not working any longer.
I think that it has
Well I'm having the same problem... no useful suggestions from ME yet.
:)
- Victor www.argilent.com
-Original Message-
From: Jason Romero [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 03, 2002 5:13 PM
To: [EMAIL PROTECTED]
Subject: [PHP] ftp_put
I am having problems getting the
Ok, Help me out on this one.
As far as i can tell, xml documents store data..pretty much just a dababase.
Now please, correct me on anything I say incorrectly...But i just cannot
seem to grasp the point of using XML over MySQL.
Can anyone direct me to a page with xml in use? Something that can
Hi,
XML, eXtensible Markup Language. Meta-language. XML allows you to create
your own variables and meta names. You should read some doc about it. Btw
your question has nothing to do with PHP but really with XML you should take
a look to the XML's mailing list they will help you better than we
Thanks Juan, and other listers,
I have this example,
HTML
HEAD
TITLEFigure 7-3/TITLE
/HEAD
BODY
?
//check for file upload
if(isset($UploadedFile))
{
unlink($UploadedFile);
print(Local File: $UploadedFile BR\n);
print(Name:
Hi Øystein,
PHP is interpreted on the server side, JS on the client side. I
guess thats what you need to realize. Try starting with less
complex stuff and just concentrate on one language at a time, in
the beginning.
Timo
Am Montag den, 2. September 2002, um 17:49, schrieb Øystein
Hi Jim,
I had the very same strange issue with a cfg var not changing.
It worked after using ini_restore(). (I played around with
ini_set() before. Did you as well?)
I am not sure if it has anything to do with it. It sounds pretty
illogical. But PHP ignoring a setting in php.ini sounds
all:
I just noticed that I was not replying to the list, but to the
posting email adresses. I just switched to another email client
and was not aware of this. My apologies :-(
---
You,
could it be that you want to do the following?:
?php
// primary php
$foo = $_REQUEST[foo]
//
Hi David,
in PHP, you can not access associative arrays with index numbers
(and your mysql row arrays will be of the associative kind).
But Chris posted a kludge recently:
//snip
Just for kicks ... here's something pretty ugly (I'd never use it), but
neat if you're interested (or somehow
hi,
In a form i have several text area.when i submit the form, I need to
send a email at a particular id which contains the text entered in the text
area.
Can someone gimme a script which gives me and idea about how to do that...or
some link where i can find that.
Thanx and regards
anil
You are doing wrong... you are checking for the temp file and after that you
are deleting the temp file, you should copy the files first
This is your code
if(isset($UploadedFile))
{
unlink($UploadedFile); // Here you are deleting the temp file
print(Local File: $UploadedFile
I am new to Linux and is trying to install PHP/MySQL/SSL.
I used the instruction found on this link:
http://www.brtnet.org/linux/lampssl.htm
Everything seemed to install OK; on the last step, open httpd.conf and
uncomment the lines:
AddType application/x-httdp-php .php
AddType
Can anyone direct me to a page with xml in use? Something that can help me
grasp what its all about.
I didn't understand xml at all until I started using it . I asked
pretty much the same question as you (what is it good for?). Now I will
almost always use xml in any app I work on.
Thank you so much.
I got the uploaded files now with full path
(/home/user/www/uploaded_files/) as the new path.
can I use relative path such as ../uploaded_files/ ?
Thanks
--Clemson
-Original Message-
From: Rodrigo Dominguez [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 03, 2002
relative paths work too.
Thank you so much.
--Clemson
-Original Message-
From: Rodrigo Dominguez [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 03, 2002 3:55 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Uploading file
You are doing wrong... you are checking for the temp file and
Hello,
On 09/03/2002 12:44 PM, Erich Kolb wrote:
What is the PHP equivalent to javascript: back?
echo a href=.GetEnv(HTTP_REFERER).Back/a;
It may not work though.
--
Regards,
Manuel Lemos
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
I apologize beforehand in case this message is posted twice.
If there is some way to do this, then it has eluded me for several
hours. I would like to set a variable in the apache config file which
I can then access in a php script. I'm running mod_php4 and apache 1
I have tried things like
If there is some way to do this, then it has eluded me for several
hours. I would like to set a variable in the apache config file which
I can then access in a php script. I'm running mod_php4 and apache 1
I have tried things like this:
php_value WSERVER red2.office.com
and this:
Hello everyone,
I would like to study PHP but do not have any experience about PHP or
programming. Could you please give me some advice to begin such as books,
news, forum...
Many thanks in advance,
Anh
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
For those who are interested, master.php.net and bugs.php.net are back.
--
Nicos - CHAILLAN Nicolas
[EMAIL PROTECTED]
www.WorldAKT.com - Hébergement de sites Internet
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Read everything at the following sites :-)
www.php.net
www.zend.com
www.phpbuilder.com
In particular read the manuals, tips, tricks, examples, and links to other
sites sections.
Lots of good info there and will point to more sites.
On Tue, 3 Sep 2002, Anh wrote:
Hello everyone,
I would
http://master.php.net redirects me to http://www.php.net, but the bugs url
works fine.. I'm not sure what master would be which is why I tried
accessing it.. Is this normal to redirect to the main site? TIA..
Take care.. peace..
eriol
[EMAIL PROTECTED] disgorged:
: For those who are
Yes thats normal. master.php.net is used by the members of PHP (cvs accounts
etc..) to manage their account. They've got the correct url to do that from
master.php.net.
--
Nicos - CHAILLAN Nicolas
[EMAIL PROTECTED]
www.WorldAKT.com - Hébergement de sites Internet
Eriol [EMAIL PROTECTED] a
Ahh.. Okay.. Thanks..
I don't know if this is a normal issue (first time I've seen it), but in my
initial reply to your thread, I received the following back via email.. I
typically post through replies the newsgroup way at news.php.net and not the
mailing list route.. Didn't know if I should
I truely recommend Beginning PHP4 by Wrox Press (www.wrox.com or p2p.wrox.com) if
you have no experience in programming or PHP. It is, by far, the best $40 you will
ever ever spend. I promise.
regards,
dan
On Tue, 3 Sep 2002 16:46:03 -0700 (PDT)
Philip Hallstrom [EMAIL PROTECTED] wrote:
Yes, it looks its a new stuff because I get the reply to all my post too.
--
Nicos - CHAILLAN Nicolas
[EMAIL PROTECTED]
www.WorldAKT.com - Hébergement de sites Internet
Eriol [EMAIL PROTECTED] a écrit dans le message de news:
[EMAIL PROTECTED]
Ahh.. Okay.. Thanks..
I don't know if this is a
Hi Dan,
Thank you so much for your advice.
Anh
Dan Ostrowski [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
I truely recommend Beginning PHP4 by Wrox Press (www.wrox.com or
p2p.wrox.com) if you have no experience in programming or PHP. It is, by
far, the best
Hi,
I will appreciate if you have some sample code about opening a file from a UNIX server.
This is the code I wrote for this issue:
?php // test program
$conn_id=0;
$fich = fopen(ftp://usuario:clave@servidor/afiedt.buf,r;);
while ($fich[$i]) {
echo $fich[$i];
echo br;
$i++;
}
?
This is
Hi,
You should read www.php.net/fopen :
If filename begins with ftp://; (not case sensitive), an ftp connection to
the specified server is opened and a pointer to the requested file is
returned. If the server does not support passive mode ftp, this will fail.
You can open files for either
Note that you can use also:
$content = implode(,file($filename)); but I dont know if file() works
with ftp.
You should use my first tip anyway.
--
Nicos - CHAILLAN Nicolas
[EMAIL PROTECTED]
www.WorldAKT.com - Hébergement de sites Internet
Javier Campo Martinez [EMAIL PROTECTED] a écrit dans le
Eric,
Please don't email me off-list, unless you're looking to pay me for my
services.
1. I generally dedicate a certain amount of my time per day to the list
2. If we discuss things off-list, then no one else benefits from the
discussion.
on 04/09/02 5:26 AM, Eric J Schwinder ([EMAIL
Hi,
Wednesday, September 4, 2002, 1:30:49 AM, you wrote:
RL Why exit() funtion always exit with 255 value instead of the passed
RL value, in php 4.2.2, even when I compile with --enable-cli.
RL Check the code bellow, to see
RL # cat t3.php
RL #!/usr/src/php-4.2.2/php
RL ?php
RL echo Version:
Is it possible to pass an array in a form post? If so, how do I reference
the array on the next page?
Thank You
Paul
php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I'm writting an application, a control panel for a web site, and it will be
great if I can separe data from presentation, I know that I have to work
with XML and XSL but I didn't understand how it works.
Can you give me a simple example?
Let guess that a client request index.php, and I have
In article [EMAIL PROTECTED],
[EMAIL PROTECTED] says...
Is it possible to pass an array in a form post? If so, how do I reference
the array on the next page?
Thank You
Paul
php
I believe you may need serialize/unserialize here. Use serialize($array)
to create a simple variable that can
Justin French wrote on Wed, Sep 04, 2002 at 11:58:10AM +1000:
Currently I have one client who demands personalised emails. Luckily, it's
a small list (200 people), and I break the send-out down to batches of 20
emails, split apart by 2 minutes (this could be done manually, or with META
Alberto wrote on Tue, Sep 03, 2002 at 06:32:56PM -0300:
There is an error code that says that it cannot load module 'mm' at line
0, or something like that.
in your shell do: ldd `which php`
it will most likely say something like: 'libmm.so.11 not found'
you will then need to find the 'mm'
Hey all. I do most of my coding on win98 before
uploading it to my web host running linux.
I'm running the windows versions of
apache/mysql/php.
I'm using the cgi version of php.
I also run the personal firewall software, zone alarm.
When zone alarm is running it slows php/mysql down
so much
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hey,
Take a look at http://php.net/mail
If you want a script written I'll need to see the page that has the form and
the email id you want the message sent to.
~Pauly
On Tuesday 03 September 2002 06:46 pm, Anil Garg wrote:
hi,
In a form i have
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hey,
Yes, you can add those two linesadd them at the bottom.
~Pauly
On Tuesday 03 September 2002 06:57 pm, Mark McCulligh wrote:
I am new to Linux and is trying to install PHP/MySQL/SSL.
I used the instruction found on this link:
101 - 151 of 151 matches
Mail list logo