I've got a d/e screen that collects a path and a file name. My script then
attempts to verify that the file exists before moving on to do things with
it.
I've displayed the combined fields and they are showing correctly - ie,
c:\temp\emax.pdf as well as c:/temp/emax.pdf . But when I use that
On Monday, 25 April 2011 at 00:26, Jim Giner wrote:
I've got a d/e screen that collects a path and a file name. My script then
attempts to verify that the file exists before moving on to do things with
it.
I've displayed the combined fields and they are showing correctly - ie,
Hmmm... did not realize that. From all the code I examined I thought it
was looking at the client.
So how does one do a file upload from the client to the host? Preferably
with ftp rather than http.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
On Monday, 25 April 2011 at 01:07, Jim Giner wrote:
Hmmm... did not realize that. From all the code I examined I thought it
was looking at the client.
So how does one do a file upload from the client to the host? Preferably
with ftp rather than http.
FTP is a completely separate system
because I've seen many comments in my research that ftp is better for larger
files. I'm trying to upload photos so I know that they can be big.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Monday, 25 April 2011 at 01:24, Jim Giner wrote:
because I've seen many comments in my research that ftp is better for larger
files. I'm trying to upload photos so I know that they can be big.
Considering the number of websites out there that use HTTP POST for uploading
photos I really
Well, I'll take your word for it. As well as that of all the examples on
Google that come up when looking for php ftp uploads which are NOT doing
ftp uploads at all. Seems that many people are calling the 'move' of their
file from one host folder to another an 'upload'. Thanks!
--
PHP
You're probably seeing references to the move_uploaded_file PHP function which
is used when processing an HTTP POST file upload. However, the fact that a
simple query like that didn't give you anything related should tell you how
often FTP upload is integrated into a website. Modify your search
Right, I'm having some rather strange issues between mysql and php when it
comes to inserting Japanese text. I have the table and fields set to
utf8_unicode_ci, if I use phpmyAdmin to insert japanese text through the
interface it works just fine. If I use phpmyadmin but type in the mysql
On Thu, Mar 5, 2009 at 2:06 PM, James mli...@ichor-interactive.com wrote:
Right, I'm having some rather strange issues between mysql and php when it
comes to inserting Japanese text. I have the table and fields set to
utf8_unicode_ci, if I use phpmyAdmin to insert japanese text through the
Ah, no I hadn't (*red face*), thanks very much, works beautifully now!
James
Eric Butera eric.but...@gmail.com wrote in message
news:6a8639eb0903051302s3b398a00m2287b15a33d3b...@mail.gmail.com...
On Thu, Mar 5, 2009 at 2:06 PM, James mli...@ichor-interactive.com
wrote:
Right, I'm having
Hello, I have trouble uploading files to a server. Actually I can't
upload more than 500 bytes or so.Here's a quick print_r of the
$_FILES [_FILES] = Array( [avatar] = Array ( [name] = index.html
[type] = text/html [tmp_name] = /tmp/phpRbmXK5 [error] = 0 [size] = 505
))
On Sat, 2008-10-11 at 22:31 -0400, Karl St-Jacques wrote:
Hello,
I have trouble uploading files to a server. Actually I can't upload more than
500 bytes or so.
Here's a quick print_r of the $_FILES
[_FILES] = Array( [avatar] = Array ([name] = index.html[type] =
On Sun, 2008-10-12 at 07:54 -0400, Karl St-Jacques wrote:
Hello, I have trouble uploading files to a server. Actually I
can't upload more than 500 bytes or so.Here's a quick print_r of
the $_FILES [_FILES] = Array( [avatar] = Array ( [name] =
index.html [type] =
On Sun, Oct 12, 2008 at 8:58 AM, Ashley Sheridan
[EMAIL PROTECTED] wrote:
No, not sure where the code of conduct is, but hang about for a while
and you should get the general idea ;)
Just the stuff at http://php.net/mailinglists.
--
/Daniel P. Brown
More full-root dedicated server
Hello,
I have trouble uploading files to a server. Actually I can't upload more than
500 bytes or so.
Here's a quick print_r of the $_FILES
[_FILES] = Array( [avatar] = Array ([name] = index.html[type] =
text/html[tmp_name] = /tmp/phpRbmXK5[error] = 0[size] = 505
My Apache 2.2.8 doen't start with these lines below:
# load the php main library to avoid dll hell
Loadfile d:\winappl\php\php5ts.dll
# load the sapi so that apache can use php
LoadModule php5_module d:\winappl\php\php5apache2_2.dll
# set the php.ini location so that you don't have to waste
On Thu, Mar 13, 2008 at 9:45 AM, Willian Schubert Baldasso
[EMAIL PROTECTED] wrote:
My Apache 2.2.8 doen't start with these lines below:
# load the php main library to avoid dll hell
Loadfile d:\winappl\php\php5ts.dll
# load the sapi so that apache can use php
LoadModule php5_module
Schubert Baldasso [EMAIL PROTECTED]
Cc: php-general@lists.php.net
Sent: Thursday, March 13, 2008 12:31 PM
Subject: Re: [PHP] Trouble setting httpd.conf, I need help
sorry for the offlist reply, Willian,
Do you really have a d drive ? and those files really exist ?
if yes, try changing
On Sun, February 10, 2008 9:09 pm, Robert Cox wrote:
Is it possible to use the $_SERVER['PHP_AUTH_USER']; construct in a
URL
forwarded site? I am trying to find the authorised user id so that I
can
access an SQL database with it. Anyone got some ideas?
If you do a Location: with a FULL
Richard Lynch wrote:
On Sun, February 10, 2008 9:09 pm, Robert Cox wrote:
Is it possible to use the $_SERVER['PHP_AUTH_USER']; construct in a
URL
forwarded site? I am trying to find the authorised user id so that I
can
access an SQL database with it. Anyone got some ideas?
If you do a
On Feb 10, 2008 10:09 PM, Robert Cox [EMAIL PROTECTED] wrote:
Is it possible to use the $_SERVER['PHP_AUTH_USER']; construct in a URL
forwarded site? I am trying to find the authorised user id so that I can
access an SQL database with it. Anyone got some ideas?
Once again I'll defer to
Is it possible to use the $_SERVER['PHP_AUTH_USER']; construct in a URL
forwarded site? I am trying to find the authorised user id so that I can
access an SQL database with it. Anyone got some ideas?
PHP looks like this
?php
//Get User
$user = $_SERVER['PHP_AUTH_USER'];
// Get
--- Robert Cox [EMAIL PROTECTED] wrote:
Is it possible to use the $_SERVER['PHP_AUTH_USER']; construct in
a URL
forwarded site? I am trying to find the authorised user id so that
I can
access an SQL database with it. Anyone got some ideas?
PHP looks like this
?php
//Get User
Robert Cox wrote:
Is it possible to use the $_SERVER['PHP_AUTH_USER']; construct in a URL
forwarded site? I am trying to find the authorised user id so that I can
access an SQL database with it. Anyone got some ideas?
PHP looks like this
?php
//Get User
$user =
This may not be relevant as I'm only glancing over this as I have to
leave for a meeting, but you have to enable POP access in Gmail before
you can download to another email client like Thunderbird or Outlook,
so maybe the same applies?
Anyway, I'm looking to find a way of accessing my gmail as I
*Hi Cris,*
*I have tried to use:*
*$mbox =
imap_open('{**pop.gmail.com:995/pop3}INBOXhttp://pop.gmail.com:995/pop3%7DINBOX
http://pop.gmail.com:995/pop3%7DINBOX**',*
* 'my_login@**gmail.com**', my_pass');*
*As you suggest but it didn't work. *
*The time out is not for the function:*
Thanks for offer your help.
I will try to explain in details what I did.
First of all, on file php.ini I removed the comments for the line below:
extension=php_imap.dll
After that, I have followed the Gmail instructions to enable POP in my Gmail
account as below:
1. Log in to your Gmail
Array ( [0] = Host not found (#11001): pop3.gmail.com )
So pop3.gmail.com doesn't exist.
?
$mbox =
imap_open('{pop.gmail.com:995/pop3}INBOXhttp://pop.gmail.com:995/pop3%7DINBOX',
'my_login@gmail.com', my_pass');
print_r(imap_alerts());
print_r(imap_errors());
$num_mens_not_read =
I have a little trouble while trying to connect to gmail server.
I already enabled POP on gmail.
After experience a lots of errors with the command below, now I'm
seeing no more errors, but it still doesn't working, the page stay
processing and just is broke after this command.
$mbox =
Fábio Generoso wrote:
I have a little trouble while trying to connect to gmail server.
I already enabled POP on gmail.
After experience a lots of errors with the command below, now I'm
seeing no more errors, but it still doesn't working, the page stay
processing and just is broke after this
On Wed, March 21, 2007 5:05 am, Albert Kopka wrote:
Hi ...
I want to generate certificate for smardcard login (MS Win-XP)
and for do that the subject of certificate should contain same key
(in key:value of $dn) multiple times for example ...
cert generated by ca suplied with W-2003
Hi ...
I want to generate certificate for smardcard login (MS Win-XP)
and for do that the subject of certificate should contain same key
(in key:value of $dn) multiple times for example ...
cert generated by ca suplied with W-2003 server for smartcard login
contains:
Subject: DC =
I have an xml stored in a variable. If I load it in a domdocument as HTML:
$DDoc-loadHTML($xml);
I can get elements by an xpath query, but if I instead load it as XML my
xpath queries stop working:
$DDoc = new DOMDocument();
$DDoc-loadXML($xml);
$xpath = new DOMXPath($DDoc);
$query = //[EMAIL
I'm trying to build a CLI/CGI binary of PHP5 with MySQLi under Mac OS
X. When I invoke configure, I get the following error message:
checking whether to enable embedded MySQLi support... no
mysql_config not found
configure: error: Please reinstall the mysql distribution
Now, mysql (4.1.22) is
# [EMAIL PROTECTED] / 2007-01-02 18:23:33 -0700:
I'm trying to build a CLI/CGI binary of PHP5 with MySQLi under Mac OS
X. When I invoke configure, I get the following error message:
checking whether to enable embedded MySQLi support... no
mysql_config not found
configure: error: Please
# [EMAIL PROTECTED] / 2007-01-03 02:55:11 +:
# [EMAIL PROTECTED] / 2007-01-02 18:23:33 -0700:
I'm trying to build a CLI/CGI binary of PHP5 with MySQLi under Mac OS
X. When I invoke configure, I get the following error message:
checking whether to enable embedded MySQLi support... no
I am trying to get PDO going on a new desktop with Ubuntu 6.06. I have
installed php5, php5-dev, etc and have php5 working with no problems. I
then did a pecl install pdo and that installed ok. When I run phpinfo()
I get that PDO is activated and the drivers has no value.
I am now trying to
Jochem Maas wrote:
Richard Harding wrote:
I am trying to get PDO going on a new desktop with Ubuntu 6.06. I have
installed php5, php5-dev, etc and have php5 working with no problems. I
then did a pecl install pdo and that installed ok. When I run phpinfo()
I get that PDO is activated and the
Richard Harding wrote:
I am trying to get PDO going on a new desktop with Ubuntu 6.06. I have
installed php5, php5-dev, etc and have php5 working with no problems. I
then did a pecl install pdo and that installed ok. When I run phpinfo()
I get that PDO is activated and the drivers has no
Jochem Maas wrote:
Richard Harding wrote:
Jochem Maas wrote:
Richard Harding wrote:
I am trying to get PDO going on a new desktop with Ubuntu 6.06. I have
installed php5, php5-dev, etc and have php5 working with no problems. I
then did a pecl install pdo and that installed
Richard Harding wrote:
Jochem Maas wrote:
Richard Harding wrote:
I am trying to get PDO going on a new desktop with Ubuntu 6.06. I have
installed php5, php5-dev, etc and have php5 working with no problems. I
then did a pecl install pdo and that installed ok. When I run phpinfo()
I get
Richard Harding wrote:
I am trying to get PDO going on a new desktop with Ubuntu 6.06. I have
installed php5, php5-dev, etc and have php5 working with no problems. I
then did a pecl install pdo and that installed ok. When I run phpinfo()
I get that PDO is activated and the drivers has no
On Mon, 15 May 2006, J. King wrote:
To further my understanding of how Jabber works I have decided I should try
and write my own XMPP implementation in PHP. However, I've run into trouble
rather quickly.
To connect to a Jabber server, one must open a TCP socket to the server
(typically
On Mon, May 15, 2006 9:15 pm, J. King wrote:
To further my understanding of how Jabber works I have decided I
should
try and write my own XMPP implementation in PHP. However, I've run
into
trouble rather quickly.
To connect to a Jabber server, one must open a TCP socket to the
server
To further my understanding of how Jabber works I have decided I should
try and write my own XMPP implementation in PHP. However, I've run into
trouble rather quickly.
To connect to a Jabber server, one must open a TCP socket to the server
(typically through port 5269) send an XML-based
On 5/16/06, J. King [EMAIL PROTECTED] wrote:
To further my understanding of how Jabber works I have decided I should
try and write my own XMPP implementation in PHP. However, I've run into
trouble rather quickly.
To connect to a Jabber server, one must open a TCP socket to the server
I am finishing a PHP session serializer module and am seeing wierd things. I
seems to work OK, but doesn't work with squirrelmail. It works mostly but
there seems to be one type that isn't working and I can't seems to find it.
If you want to help:
download and install xmldbx in your PHP, copy
And what DOM library, which is compatible with PHP 5.0 and PHP 4.4 can
I use to avoid the conflict I currently have?
In PHP4 I never used any DOM implementation, I started to use DOM only after
the PHP5 release, so I'm not the best to answer your question. :)
Anyway I think that there is some
Please guide me what can I do to make my code work without changing it?
DOM implementation in PHP5 is completely new, and you can't have the same in
PHP4. I think that the most reasonable solution will be change the hosting to
another with PHP5 support...
Best regards.
--
Alessandro
And what DOM library, which is compatible with PHP 5.0 and PHP 4.4 can
I use to avoid the conflict I currently have?
On жовт 27, 2005, at 23:32, Alessandro Rossini wrote:
Please guide me what can I do to make my code work without changing
it?
DOM implementation in PHP5 is completely new,
In your example, the problem is that the name has spaces, which the
shell uses as a delimiter. So That Won't Move/ is kind of being
considered parameters instead of part of the dir. Using the command
line (i.e. shell/terminal) will give you more feedback as to what is
happening
One of the nice things MSFT did was to allow spaces in directory and file
names. It created more work for programmers.
One of the LOUSIEST things MSFT did was allowing spaces in directory and
file names, because of the needless, tedious parsing and checking it requires.
So much simpler to
MSFT allowed spaces? They were behind in allowing spaces (and long
file names) Apple allowed them far before MS, and Unix allowed spaces
far before Apple. Unix just assumes a space is a command/parameter
delimiter first and part of the name second. Just like multiplication
takes precedence
escapeshellarg() works quite well, why you say its still failed? did u try?
do a
?php echo escapeshellarg('Dir That (Won't Move)/'); ?
will produce
'Dir That (Won'\''t Move)'
and this does fit into shell, even `(' and `)' is not escaped,
for in bash, all thing quoted in single quote will be
On Fri, October 14, 2005 8:28 am, Miles Thompson wrote:
One of the nice things MSFT did was to allow spaces in directory and
file
names. It created more work for programmers.
I'm not familiar with MSFT...
It must be a new acronym for Apple MacOS :-), circa 1984, which
(AFAIK) was the first
On 10/13/05, -k. [EMAIL PROTECTED] wrote:
--- Jasper Bryant-Greene [EMAIL PROTECTED] wrote:
$source_dir = escapeshellarg( '/some/dir/Dir That Won't Move/' );
Unfortunately escapeshellarg doesn't work for all cases, it will escape the
' in that example
but it doesn't escape other
Greetings All,
Having trouble figureing out a certain walk through an array.
And I am not finding the help I need in the manual or anything.
I have an associative arr ($arr) With about 20 elements in it.
Ten of which are required. So I have another associative array called
$required, with all
On 10/13/05, Phillip S. Baker [EMAIL PROTECTED] wrote:
I want to see if $key matches any of the values in $required. If so do
something in particular. If not then do something else. It does not
particularly matter which value in the $required it matches, just so long as
it matches.
in_array()
Greetings All,
Having trouble figureing out a certain walk through an array.
And I am not finding the help I need in the manual or anything.
I have an associative arr ($arr) With about 20 elements in it.
Ten of which are required. So I have another associative array called
$required, with all
Hi Phillip,
Thursday, October 13, 2005, 4:56:30 PM, you wrote:
Having trouble figureing out a certain walk through an array.
And I am not finding the help I need in the manual or anything.
I have an associative arr ($arr) With about 20 elements in it.
Ten of which are required. So I have
Greetings All,
Having trouble figureing out a certain walk through an array.
And I am not finding the help I need in the manual or anything.
I have an associative arr ($arr) With about 20 elements in it.
Ten of which are required. So I have another associative array called
$required, with all
Hi,
I have the
two files which I send as an attachment.
One is simple form with a file upload box. The
other is the corresponding PHP file which sends the
information via e-mail. I used the code
provided here (http://pt.php.net/de/imap_mail_compose)
but something must be wrong.
Perhaps
I'm having trouble moving some directories. My script works fine on some
directories but doesn't
move others. It seems to have trouble with directories with non alphanumeric
charters. I'm running
Red Hat FC2. I'm trying to move the directory basically like this...
?Php
$source_dir =
-k. wrote:
I'm having trouble moving some directories. My script works fine on
some directories but doesn't move others. It seems to have trouble
with directories with non alphanumeric charters. I'm running Red Hat
FC2. I'm trying to move the directory basically like this...
?Php
--- Jasper Bryant-Greene [EMAIL PROTECTED] wrote:
$source_dir = escapeshellarg( '/some/dir/Dir That Won't Move/' );
Unfortunately escapeshellarg doesn't work for all cases, it will escape the '
in that example
but it doesn't escape other characters such as ) . So...
$source_dir =
I am testing a page that uploads a file to my server using PHP.
I get an error stating:
Warning: copy(/hsphere/local/home/bruceg/inspired-evolution.com/LOR-BRUCE.pdf):
failed to open stream: Permission denied in
/hsphere/local/home/bruceg/inspired-evolution.com/Uploader.php on line
4
Could not
Hello Bruce,
Thursday, July 7, 2005, 12:10:30 AM, you wrote:
BG I get an error stating:
BG Warning:
BG copy(/hsphere/local/home/bruceg/inspired-evolution.com/LOR-BRUCE.pdf):
BG failed to open stream: Permission denied in
BG /hsphere/local/home/bruceg/inspired-evolution.com/Uploader.php on line
Hello all,
I'm stumbling along with the ncurses implementation under 4.3.11 on
FreeBSD. I've had some success with windows and borders etc based on
some Googling(tm) and RTFM... but am having trouble getting
ncurses_new_panel to do anything worthy of note.
From what I understand, the
Hi all,
for some reason, I cannot get php to compile a shared object to work
with apache 1.3.33...
Here are the config commands that I used for apache and php :
EAPI_MM=SYSTEM ./configure --enable-module=so --enable-module=info
--enable-module=status --enable-module=rewrite --enable-module=ssl
Greetings all,
I am runnign into a strange problem.
I am working on a Linux box.
Running PHP 4.2.2
Apache 2.0
And it has MySQl installed on it (not sure of the version.
I ran a quick script to check to make sure the connection to the DB is
working fine as this is a very secure connection (have
Phillip S. Baker wrote:
Greetings all,
I am runnign into a strange problem.
I am working on a Linux box.
Running PHP 4.2.2
Apache 2.0
And it has MySQl installed on it (not sure of the version.
I ran a quick script to check to make sure the connection to the DB is
working fine as this is a very
On Fri, 14 Jan 2005 12:34:53 -0800, Phillip S. Baker
[EMAIL PROTECTED] wrote:
Any help here would be appreciated.
Simple.. your PHP doesn't have MySQL support. Rebuild it or install
the rpm or package or whatever. What kind of 'Linux box' is it?
--
Greg Donald
Zend Certified Engineer
Greg Donald wrote:
On Fri, 14 Jan 2005 12:34:53 -0800, Phillip S. Baker
[EMAIL PROTECTED] wrote:
Any help here would be appreciated.
Simple.. your PHP doesn't have MySQL support. Rebuild it or install
the rpm or package or whatever. What kind of 'Linux box' is it?
Greg is right. Also it's
Hi all,
I have that script in php that should print on a page the result of lot of
pages defined in this way:
This is the address: www.mysite.com/mypage.php?idx=1lines=50
It work in this way: if idx=1 and lines=50 my page will look like:
element1
element2
..
element50
if idx=5 and lines=5 my
Salvatore a écrit :
If I understand correctly, have you tried this instead of the above code :
while( !feof($f) )
{
$stream = fread($f, 8192);
$data .= $stream;
}
fclose($f);
i found it.
max_execution_time = 30
is too few for more than 3000 files:)
Ooops... Sorry for leaving PHP
On Mon, 6 Dec 2004 14:23:51 +0100, Salvatore [EMAIL PROTECTED] wrote:
I have that script in php that should print on a page the result of lot of
pages defined in this way:
This is the address: www.mysite.com/mypage.php?idx=1lines=50
Sounds to me like you want basic pagination. I'd use PEAR.
If I am loading extensions in my php.ini file then this is what happens when I try try
load the php4isapi.dll.
I go ahead and add it as an ISAPI filter the way it supposed to be done in IIS 5.
Then I stop the IISAdmin
Service and restart it. Then I start the Web Puublishing Service. This is
Ron King wrote:
At 06:28 AM 7/23/2004, you wrote:
You need php-cli rpm, it's not an extension, it's command line binary.
And it won't hurt anything to have both cli and extension installed?
-- Ron
No
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
When I installed Mandrake 10.0 I thought I had Apache, PHP, and MySQL
installed correctly. I could serve web pages, MySQL worked, and when I
tried the phpinfo() function, I got a page that looked OK. I could create
simple php pages and serve them up. Then I tried to install pear, and
things
You need php-cli rpm, it's not an extension, it's command line binary.
Ron King wrote:
When I installed Mandrake 10.0 I thought I had Apache, PHP, and MySQL
installed correctly. I could serve web pages, MySQL worked, and when I
tried the phpinfo() function, I got a page that looked OK. I could
At 06:28 AM 7/23/2004, you wrote:
You need php-cli rpm, it's not an extension, it's command line binary.
And it won't hurt anything to have both cli and extension installed?
-- Ron
Ron King wrote:
When I installed Mandrake 10.0 I thought I had Apache, PHP, and MySQL
installed correctly. I could
Hi,
i'm working with PHP 5.0.0 (Linux) and have some trouble using function sin().
In PHPs opinion
sin(20)
is
0.912945250728
I have had a look at the bug.php.net, but couldn`t find anything. Is it a bug
or am I just misunderstanding something??
Marcus
--
PHP General Mailing List
It's giving you sin(20) in radians, not in degrees (which is what you
seem to want). It's not a bug.
On Thu, 22 Jul 2004 12:17:19 -0400, Ashwin Purohit [EMAIL PROTECTED] wrote:
It's giving you sin(20) in radians, not in degrees (which is what you
seem to want). It's not a bug.
On Thu, 22
If you want it in degrees, use sin(deg2rad(20);
On Thu, 22 Jul 2004 12:17:19 -0400, Ashwin Purohit [EMAIL PROTECTED] wrote:
It's giving you sin(20) in radians, not in degrees (which is what you
seem to want). It's not a bug.
On Thu, 22 Jul 2004 17:40:21 +0200, Marcus Strube [EMAIL
Thanks a lot. I've overseen a word in the manual. Now i got it.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
as in 20 degrees?
float *sin* ( float arg)
*sin()* returns the sine of the arg parameter. The arg parameter is in
radians.
RADIANS.
|sin(deg2rad(20));
|
Jon
Marcus Strube wrote:
Hi,
i'm working with PHP 5.0.0 (Linux) and have some trouble using function sin().
In PHPs opinion
sin(20)
is
Hi list,
i'm trying to include files in my php scripts but things seem not to
work properly. In my script, i include a file like this:
?php include 'includes/db.inc' ?
I have all include files in includes directory, that's a children of the
directory where my scrips are. The include_path
Hello all,
I am having trouble setting array data from within a MySQL results
query. I have modified data from the result and wish to enter it into
it's own array ($data). That then is used to generate a graph. The
following code basically gives me an empty array...
I am pulling out a timestamp
, 2004 9:06 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Trouble with arrays from within MySQL results where
clause
Hello all,
I am having trouble setting array data from within a MySQL results
query. I have modified data from the result and wish to enter it into
it's own array ($data
Eric Boerner wrote:
Hello all,
I am having trouble setting array data from within a MySQL results
query. I have modified data from the result and wish to enter it into
it's own array ($data). That then is used to generate a graph. The
following code basically gives me an empty array...
I doubt the
On Tuesday 13 July 2004 00:05, Eric Boerner wrote:
I am having trouble setting array data from within a MySQL results
query. I have modified data from the result and wish to enter it into
it's own array ($data). That then is used to generate a graph. The
following code basically gives me an
Hi,
I'm writing a small image stock application that stores EPS files (that's
what the client is using for their work).
Since GD doesn't support EPS, the only alternative I've found to create
thumbnails is to use the 'convert' utility from ImageMagick.
When testing it on the command line and
I think I'm missing something here really obvious!
I am using a script where you get a variable from one page and post to
another.
I've just realised that some people are jumping straight to the second page
(it rates higher in search engines) so the variable (yourname) remains
unset.
I want to use
[snip]
A simplified version of the code is shown below and is posting to
itself.
Any idea what I'm doing wrong?
?PHP
if(!isset($_GET['realname'])) {
$realname = 'Your Name';
}
?
html
head
titleUntitled Document/title
meta http-equiv=Content-Type content=text/html; charset=iso-8859-1
/head
body
Hi folks. I'm trying to use an .htaccess file to set my include path
and for some reason it's not overriding the value in php.ini, but
instead still shows and uses the original value from php.ini, not what
is in the .htaccess file.
I know that include_path is one of the values that can be set
* Thus wrote Pablo Gosse ([EMAIL PROTECTED]):
Hi folks. I'm trying to use an .htaccess file to set my include path
and for some reason it's not overriding the value in php.ini, but
instead still shows and uses the original value from php.ini, not what
is in the .htaccess file.
Most default
snip
Most default apache configurations now a days dont have .htaccess
enabled by default (for performance reasons.) Or some hosting
services implicitly turn this option off. So no matter what
you put in the .htaccess file, it will be ignored.
You can test this by putting in your .htaccess file
Hi, i was trying to create thumbnail using a tutorial on image galleries,
I am having problems creating thumbnail images using GD. The thumbnail is
created with the sizes prorerly, however the image is black.
I have posted a temporary php file i created to investigate the problem
below.
I
I'm sorry if this has already been asked before...
I am trying to make a small ftp app using this line to download files:
if( !ftp_get( $conn_id , C:\thefile.txt , $HTTP_GET_VARS['file'] ,
FTP_BINARY ) ) $error = true;
I know I have a connection, and $HTTP_GET_VARS['file'] is the path of
the
1 - 100 of 280 matches
Mail list logo