hi,
i dont know exact PHP code for how 2 open file browser window to uplad
file or an image plz help me.its very urgent.
A.suresh
Send instant messages to your online friends http://in.messenger.yahoo.com
I just noticed that http://www.io.org/~rasmus is down. Anybody else
remember this site?
Dotan Cohen
Ligaya Turmelle wrote:
> I personally liked George Schlossnagle's book "Advanced PHP
> Programming", published by Sams.
> I am also assuming you actually do know the basics of MySQL and PHP
> and are looking for that next step - past the beginner stuff.
I agree. I have seen this book alone tak
I am also assuming you actually do know the basics of MySQL and PHP and
are looking for that next step - past the beginner stuff.
Ligaya Turmelle wrote:
I personally liked George Schlossnagle's book "Advanced PHP
Programming", published by Sams.
http://www.amazon.com/gp/product/0672325616/qid
Monday, January 16, 2006, 5:14:49 PM, tg-php wrote:
> Should just be a matter of adding "start.php" to your defaults list in
> whatever priority order you want.
Apache's .htaccess:
DirectoryIndex start.php index.php index.html
In start.php:
// instead of redirecting, just set page
if (!isset($_GE
I figured it out! it runs on my pc but not on the web!
$fileroot = "amrs/$cat/";
foreach ($author = scandir($fileroot); as $author){
echo "$author";
}
???
~Nick Couloute
co-owner/web Designer
SiDEkiCk2MuSiC.CoM
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.p
I'm kind of a newbie so speak sowly.
I've got a problem with validating radio buttons that seems to be harder
than I think to solve. I've got ten items set up like this:
Green:
and son on out to 10.
Then I've got Red: and so on
out to ten again.
So I've got ten colors each with 1
can any one help me out? plz
~Nick Couloute
co-owner/web Designer
SiDEkiCk2MuSiC.CoM
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Jan 16, 2006, at 6:10 PM, Nicholas Couloute wrote:
I tried the script but it keeps saying it is not an array!
Hmm, I just set-it-up on my server:
http://www.ambiguism.com/php/readDirSort.php
Seems to work for me. Code:
$file_path = $_SERVER['DOCUMENT_ROOT'].'/php/test/';
$the_dir = opendi
On Jan 16, 2006, at 5:21 PM, Nicholas Couloute wrote:
I need to know how to arrange files alphabetically in my directory
when I display it on the browser! I have it display the filename
foreach that exist is there a way to arrange by alphabet?
I would read the contents of the directory into an
I need to know how to arrange files alphabetically in my directory when
I display it on the browser! I have it display the filename foreach that
exist is there a way to arrange by alphabet?
~Nick Couloute
co-owner/web Designer
SiDEkiCk2MuSiC.CoM
--
PHP General Mailing List (http://www.php.net/)
I just got a new web server with RedHat Enterprise Linux 4 on it. It came
with MySQL 4.1.x and PHP 4.3.9 on it. I uninstalled the MySQL 4 and put
MySQL 5 on it. When I run a PHP script that has a DB connection in it I
get:
Fatal error: Call to undefined function: mysql_connect() in
/var/ww
On Jan 16, 2006, at 3:27 PM, M. Sokolewicz wrote:
I'm confused...
why does everyone use a refresh??? According to me, that's not what a
refresh is supposed to be used for (!). Why don't use a
header('Location: http://www.domain.com/start.php?page=home'); for it?
It's more in-line with RFC's
G
On Jan 16, 2006, at 2:24 PM, Ezra Nugroho wrote:
You probably want to check mod_rewrite.
http://httpd.apache.org/docs/1.3/mod/mod_rewrite.html
Ah, looks useful! Thanks for link, reading about it now. :)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.ne
I'm confused...
why does everyone use a refresh??? According to me, that's not what a
refresh is supposed to be used for (!). Why don't use a
header('Location: http://www.domain.com/start.php?page=home'); for it?
It's more in-line with RFC's
- tul
Ray Hauge wrote:
You could also check to see
On Mon, 2006-01-16 at 14:20 -0800, Michael Hulse wrote:
> On Jan 16, 2006, at 2:14 PM, <[EMAIL PROTECTED]> wrote:]
> > I think that'll do it for ya. If you're going through an ISP, they
> > still may have a way that you can set your defaults, possibly through
> > .htaccess or some other Apache
You could also check to see if $_GET['page'] contains a value, and if it does
not, then redirect it. Something like this:
if($_GET['page'] == ''){
header("Refresh: 0; URL=http://www.domain.com/start.php?page=home";);
}
Granted that isn't validating the $_GET['page'] variable input for s
On Jan 16, 2006, at 2:14 PM, <[EMAIL PROTECTED]> wrote:]
I think that'll do it for ya. If you're going through an ISP, they
still may have a way that you can set your defaults, possibly through
.htaccess or some other Apache type prefs setting mechanism.
Good luck!
Great! Thanks for the q
On your web server you can configure 'default pages'. Apache and *nix type
servers seem to favor the "index.html" type default pages while Microsoft's IIS
goes for the "Default.htm" just to be different. But you can add default pages
to a list in the order you want them accepted.
For instance
Hello,
What would be the best way to get a page variable like this:
www.domain.com?page=home
to show up when a user types in:
www.domain.com
My current fix is to have this:
header("Refresh: 0; URL=http://www.domain.com/start.php?page=home";);
... on a index.php page on the root.
Is there a
Thanks for the help John...That's more information than I had before..
I will keep working at it..
Zed
"John Nichel" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> zedleon wrote:
> > Thank you -- brain freeze..
> >
> > I am getting emply results from print_r
> >
> > Array
> > (
>
Angelo Zanetti wrote:
I'm using the PHP mail function to send a confirmation email to a person
once they register on the site. A few thing that happens with 2 of the
A bunch of times, I have found that some hosts will up the spam ante
when you don't include almost _all_ of the headers.
What
zedleon wrote:
Thank you -- brain freeze..
I am getting emply results from print_r
Array
(
)
Don't know what to tell you then. I tried you script on a cgi box here,
and the post variables came thru fine. Only difference I noticed is
that in your path to the script, you're running thru a
Thank you -- brain freeze..
I am getting emply results from print_r
Array
(
)
"John Nichel" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> zedleon wrote:
> > I am getting a parse error, unexpected T_VARIABLE
> >
> > you would think this would be easy.
>
> Did you put the sem
zedleon wrote:
I am getting a parse error, unexpected T_VARIABLE
you would think this would be easy.
Did you put the semi-colon at the end of the line?
zed
"John Nichel" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
zedleon wrote:
here is the php code i am using as a c
I am getting a parse error, unexpected T_VARIABLE
you would think this would be easy.
zed
"John Nichel" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> zedleon wrote:
> > here is the php code i am using as a cgi in the cgi-bin
> > This form executes fine, just doesn't get the v
zedleon wrote:
here is the php code i am using as a cgi in the cgi-bin
This form executes fine, just doesn't get the variables for the form.
simple test form at:
http://www.passeycorp.com/gnupg.php
thanks for the feedback.
zed
---
This one time, at band camp, David Grant <[EMAIL PROTECTED]> wrote:
> Storing the image in the database will result in a fairly large
> performance hit
This is not always the case. Mostly this mis-nomer comes from using databases
that use a secondary db for indexing or dont support true BLOB typ
here is the php code i am using as a cgi in the cgi-bin
This form executes fine, just doesn't get the variables for the form.
simple test form at:
http://www.passeycorp.com/gnupg.php
thanks for the feedback.
zed
---
#!/usr/lo
check to make sure you are allowing globals to be accessed in your
php.ini.make sure you are accessing the post/get vars correctly
On 1/16/06, John Nichel <[EMAIL PROTECTED]> wrote:
>
> zedleon wrote:
> > Let me ask this...
> > What is the proper way to configure a php script to run as a cgi?
zedleon wrote:
Let me ask this...
What is the proper way to configure a php script to run as a cgi?
What items need to be included (i.e. header info, content type, etc ) for
the cgi
to find the variables sent from the html form?
anybody?
POST/GET variables will work without any added 'tweaking
Let me ask this...
What is the proper way to configure a php script to run as a cgi?
What items need to be included (i.e. header info, content type, etc ) for
the cgi
to find the variables sent from the html form?
anybody?
zed
""zedleon"" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECT
Thanks. I need to hone my google skills. I spent hours looking.
Never thought to try the wiki pages.
Erik
> www.google.com
>
> or
>
> http://fedoraproject.org/wiki/
>
> But it's in test yet.
>
> Best regards
> Rodolfo Andrade
> - Original Message -
> From: Erik Saline
> To: Curt Z
www.google.com
or
http://fedoraproject.org/wiki/
But it's in test yet.
Best regards
Rodolfo Andrade
- Original Message -
From: Erik Saline
To: Curt Zirzow ; php-general@lists.php.net
Sent: Monday, January 16, 2006 3:06 PM
Subject: Re: [PHP] PHP and Apache
Where do I find fc5?
Erik
Where do I find fc5?
Erik
> On Sun, Jan 15, 2006 at 09:34:40AM -0800, Erik Saline wrote:
>> Using Fedora Core 4 using the already Apache and Mysql. I tried using the
>> already installed PHP but mysql support was not setup or shown when using
>> phpinfo().
>>
>> I recompiled PHP with the follo
Weber Sites LTD wrote:
When running scripts in CGI mode you do not run them via your web server.
Why do you expect to find variables that come from the web?
I must be missing something.
You are. I think you're confusing CGI with CLI.
--
John C. Nichel IV
Programmer/System Admin (ÜberGeek)
Do
When running scripts in CGI mode you do not run them via your web server.
Why do you expect to find variables that come from the web?
I must be missing something.
Sincerely
berber
Visit the Weber Sites Today,
To see where PHP might take you tomorrow.
PHP code examples : http://www.weberde
You may also want to check this article :
Saving Images in MySQL
http://www.weberdev.com/ViewArticle-3.html
Berber
-Original Message-
From: Richard Correia [mailto:[EMAIL PROTECTED]
Sent: Monday, January 16, 2006 5:45 PM
To: suresh kumar
Cc: php-general@lists.php.net
Subject: Re: [P
I am going to try to post this to Zend.com also, just am hoping I can
get a quicker response here. I have Zend Studio 4 on my mac and just
installed a few updates from apple...quicktime, itunes, safari. I
then rebooted and it asked to update my key chain like normal and now
when I try to open Stu
A good book to check out :
100+ Practical PHP Solutions
http://www.sitepoint.com/launch/weberdev/2/7
Download the sample chapter and see if you like it.
Sincerely
berber
Visit the Weber Sites Today,
To see where PHP might take you tomorrow.
PHP code examples : http://www.weberdev.com
P
Hey ...
Ready example ...
http://www.weberdev.com/get_example-4062.html
Thanks,
Richard
On 1/16/06, suresh kumar <[EMAIL PROTECTED]> wrote:
>
> Hi,
>i dont know how 2 store images in gif/jpeg format
> in Mysql Database.i also want 2 know PHP Code 2
> store images in Mysql Database .re
Hi,
zedleon wrote:
> I am running a php script as a cgi so to be able to run under my user name.
> The script seems to be working except for one major problem.
> the cgi script is not finding the variables passed by the html form...
How are you attempting to access them?
David
--
David Gran
I am running a php script as a cgi so to be able to run under my user name.
The script seems to be working except for one major problem.
the cgi script is not finding the variables passed by the html form...
Any suggestions on how to make this work?
Any help is greatly appreciated -
zed
--
>
> Hi,
> i dont know how 2 store images in gif/jpeg format
> in Mysql Database.i also want 2 know PHP Code 2
> store images in Mysql Database .reply me soon its very
> urgent .
>A.suresh
>
Conventional wizdom is that is it usually bet
Suresh,
suresh kumar wrote:
> i dont know how 2 store images in gif/jpeg format
> in Mysql Database.i also want 2 know PHP Code 2
> store images in Mysql Database .reply me soon its very
> urgent .
Storing the image in the database will result in a fairly large
performance hit, but if you
Hi,
i dont know how 2 store images in gif/jpeg format
in Mysql Database.i also want 2 know PHP Code 2
store images in Mysql Database .reply me soon its very
urgent .
A.suresh
Send instant messages to your online friends http://in.messenger
I have this book and have been very impressed with it. However, if you are
a beginner programmer I would say not to get it until you understand the
basic programming concepts and have a working knowledge of PHP. :)
On 1/16/06 1:14 AM, "Ligaya Turmelle" <[EMAIL PROTECTED]> wrote:
> I personally
I nam trying to build a file transfer utility for a content management
system - I believe that the best way to do this is via a frame based utility
which connects in one frame - handles all transfers and messagaing in
another frame which is continually polled with new ftp commands. However I
have t
At 07:43 PM 1/16/2006, Angelo Zanetti wrote:
Hi all.
I'm using the PHP mail function to send a confirmation email to a person
once they register on the site. A few thing that happens with 2 of the
mail accounts that we're testing to receive the mail is that the mail
never is received. One of
Angelo Zanetti wrote:
> I'm using the PHP mail function to send a confirmation email to a person
> once they register on the site. A few thing that happens with 2 of the
> mail accounts that we're testing to receive the mail is that the mail
> never is received. One of the mail accounts is a Yah
Hi all.
I'm using the PHP mail function to send a confirmation email to a person
once they register on the site. A few thing that happens with 2 of the
mail accounts that we're testing to receive the mail is that the mail
never is received. One of the mail accounts is a Yahoo account, the
oth
Al wrote:
Can't get a cookie to set. Below is the code near the file top BEFORE
any html output.
$_POST['prefs'] comes from a hidden field in the middle of the html output.
$_POST['filter'] comes from a select option.
A Submit button closes the page and refreshes it.
print_r($_POST) shows $_
Hey Suresh,
I know ..we all have faced similar problem when we started our career in php
perl mysql.
Please visit the http://weberdev.com for ultimate article and code example
for Php and Mysql.
Try Wrox books for php5.
Thanks
Richard
On 1/16/06, suresh kumar <[EMAIL PROTECTED]> wrote:
>
> hi,
Robert Fitzpatrick wrote:
I have a php script that I use for backup with rsync over ssh and those
tools work great under cygwin. I'd like to use this same script that I
use on my unix/linux servers.
You would think I could find lots of info on this subject, but for some
reason I can't. I found i
On Sun, Jan 15, 2006 at 01:12:46PM -0700, John Meyer wrote:
> Hi, If I have a perl script to rip off the mp3 tag information, can I
> have that script then pass them into the PHP file?
- how is the perl script called?
- what mp3 info do you want to send?
- how is the perl script calling the php s
55 matches
Mail list logo