- Original Message -
From: <[EMAIL PROTECTED]>
To: "PHP" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Sunday, September 01, 2002 2:25 AM
Subject: Re: [PHP-LANG] About file premission
> On Sun, 1 Sep 2002, PHP wrote:
>
> > i'm facing a problem that is when i create a new file on mmy
Situation:
I want to create a file to a directory, but the premission denied, how to
solve this problem by using CHMOD?
Bryan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Is it will increase the processing time when too many "include" process in a
program?
Bryan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Is it will increase the processing time when too many "include" process in a
program?
Bryan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
uldn't care. I mean, the burden of proving it would be on
them. And who's to say that you didn't get it elsewhere.
Just my $.02...
Bryan
On Tue, 22 Mar 2005 19:54:27 -0500, C Drozdowski <[EMAIL PROTECTED]> wrote:
> Hey,
>
> I used a single line of code (ver bat
my webspace, it ran OK for 18 months on both. Looking at
php.ini on my PC I note magic_quotes_gpc is set to on and
magic_quotes_runtime is set to off. On my webspace I note
magic_quotes_gpc is set to on as is magic_quotes_runtime, I assume
this is what's screwing up the PHP generated html.
Could someone point me to a VERY good doc for learning PHP for a
NEWBIE!!! Something I can understand from the beginning to the end. YES
I am willing to put my time into learning and reading docs as long as
they are clear and made for what they say they are made for. I wont
waste my time with somet
I just know some very basic html. lol. ya i know i know. I just havent
had time to set down and learn the things I want to learn until now.
On Tue, 21 Jan 2003 11:00:29 -0500
David T-G <[EMAIL PROTECTED]> wrote:
> Bryan --
>
> [BTW, I could not find your key on us.php.net or eu
ect("localhost", "webapp");
mysql_select_db("helpdesk",$db);
$result = mysql_query("SELECT contactemail FROM loc WHERE
location=$Location",$db);
while($row = mysql_fetch_row($result)){
$contactemail = $row[0];
}
Thanks in advance,
Bryan
~~
I believe something like this would do it:
system('ls -l');
> -Original Message-
> From: scott [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, January 23, 2003 9:06 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Executing Shell Commands.
>
>
> Hello,
>
> Does anybody know how to execute a s
Thanks all for the responses.. the solution was to add single quotes around
the $Location variable.
> -Original Message-
> From: Rick Emery [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, January 23, 2003 10:10 AM
> To: Bryan Brannigan; Php List (E-mail)
> Subject: Re: [PHP]
Have you tried echo'ing out the variable before and after the mysql_query?
> -Original Message-
> From: 1LT John W. Holmes [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, January 29, 2003 6:20 AM
> To: Sunfire; [EMAIL PROTECTED]
> Subject: Re: [PHP] php and sql problem with mysql_query and i
are all your email duplicated? if people are replying to a message you sent
you are probably getting one copy from them and one from the list.
> -Original Message-
> From: 1LT John W. Holmes [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, January 29, 2003 9:31 AM
> To: [EMAIL PROTECTED]
> S
put your password in the mysql_connect. mysql_connect("localhost", "root",
"yourpassword");
or create a new user in mysql that has no password and minimal permissions.
> -Original Message-
> From: Gibbs, Liam - SXIA [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, January 29, 2003 9:46 AM
>
with PHP 4.3.0 exists on a Slackware 8.1 box.
All parameters are correct.
Boxes can see each other.
All php scripts work when run on the Win2k box.
Any ideas why connecting to php/mysql would throw this error?
Bryan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Slackware box.
Thanks again for your help.
Bryan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Env: Slackware 8.1, Apache 1.3.27, PHP 4.3.0
Bugs: None found for these issues.
I am running to this same problem. The isset() function appears to have
problems with the empty text value. The empty() function sees the value
of $_POST['q1'] as expected.
So why is both isset() and empty() retur
Belay that one. I figured it out. My err.
I will shut up and go back to lurk mode.
So sorry, please don't flog me.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
You may want to wait a few days on this book. The 2nd edition is due out
tomorrow.
Search on 0-672-32525-X
-Original Message-
From: Brent Baisley [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 12, 2003 9:19 AM
To: Greg Luce
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Learning PHP
N
>From your code snip it looks like you are missing ?> after the if
contruct.
Bryan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I have been playing with this at home.
Perhaps this makes it a bit easier.
boolean setcookie ( string name [, string value [, int expire [, string
path [, string domain [, int secure])
boolean setcookie (name, value, expire, path, domain, secure)
Fwiw, a solution from another project:
Did you check google?
http://ozu.arecom-sa.com/~marms/phpedit.net/
-Original Message-
From: Al [mailto:[EMAIL PROTECTED]]
Sent: Sunday, February 16, 2003 8:39 AM
To: [EMAIL PROTECTED]
Subject: [PHP] What happened to phpEdit???
Their site no longer responds.
Surely, we haven't lost one
another script.
Still looking for a better way. What concerns me the most is if a code
disclosure bug is later discovered in 4.3.0 or another version.
Bryan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
another script.
Still looking for a better way. What concerns me the most is if a code
disclosure bug is later discovered in 4.3.0 or another version.
Bryan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
worthy of further investigation.
Bryan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
tried) functions to parse the
required values out of the Posted field.
HTH,
Bryan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
efile']['tmp_name']) {
copy ($_FILES['imagefile']['tmp_name'],
"../images/".$_FILES['imagefile']['name']) or die ("Could not copy");
}
**snip**
Thanks,
Bryan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Chris.. you are 100% correct, that took care of it.
Thanks for the help,
Bryan
-Original Message-
From: Chris Cook [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 19, 2003 10:44 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: [PHP] Skipping Image Upload if Filename is blank
Ok, my problem of the day. I need to take a field from a form that has either a first
name, last name or both and then search the database for all records that match one of
those items. The problem, the database only has one field for the name.. where both
the first and last name are stored.
HTML:
JS:
Function DoThis(){
frmMain.method = "POST";
frmMain.action = "admin.php";
frmMain.submit();
}
Where frmMain is the name for the FORM:
Read all about it in: http://www.oreilly.com/catalog/jscript4/
Bryan
-Original Message-
From:
RTM first please:
http://www.php.net/manual/en/function.mysql-connect.php
$link = mysql_connect("localhost", "mysql_user", "mysql_password") or
die("Could not connect: " . mysql_error());
Replace localhost with the hostname of your mysql server.
-Original Message-
From: Luis A [mailto:
://babel.altavista.com
Bryan
-Original Message-
From: Luis A [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 25, 2003 2:16 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] how___??
i need to do this
$link = mysql_connect("remote host", "mysql_user", "mysql_password&qu
Create a user with appropriate privledges for the database. DO NOT use
root.
You did not mention where the $nombre, $direccion, $telefono, or $email
variables are being initialized.
To capture the values from a form use $_POST['name'] where name is the
name of the field on the form.
HTH
-
RTM: http://www.php.net/manual/en/ref.session.php
Tutorial: http://www.zend.com/zend/tut/session.php
-Original Message-
From: php [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 25, 2003 4:40 PM
To: [EMAIL PROTECTED]
Subject: [PHP] no session id
this code doesn't ouput a session-
Funny thing about online manuals.
include() http://www.php.net/manual/en/function.include.php
include_once() http://www.php.net/manual/en/function.include-once.php
Please read: http://www.catb.org/~esr/faqs/smart-questions.html
-Original Message-
From: Kenneth Suralta [mailto:[EMAIL
== PHPSESSID=aed42b1e8e514e2b28e630729edfa24b
Server: Apache/1.3.27 (Unix) PHP/4.3.0
www.domainname.net maps to hostname. They are the same server, just
accessed differently.
Maybe I missed it but I didn't see anything in the docs, archives or
bugs about this.
Anyone know why this happens?
yes
- Original Message -
From: Karl James
To: [EMAIL PROTECTED]
Sent: Thursday, February 27, 2003 11:11 PM
Subject: [PHP] Read
Hey does anyone know if you can use PHP and ASP 3.0 or I.I.S on the same hard
drive on XP pro?
I need to know for school, because I'm tak
See isset() and empty()
-Original Message-
From: Steve Buehler [mailto:[EMAIL PROTECTED]
Sent: Friday, February 28, 2003 10:29 AM
To: PHP
Subject: [PHP] testing for < 0
I have a form that has input for minutes. My problem is that I am
trying
to test to see if the field is blank or not
Shouldn't that be:
while($data=mysql_fetch_array($result))
{
//SSLT
}
NOTE: Added ) and changes $query to $result
-Original Message-
From: Van Andel, Robbert [mailto:[EMAIL PROTECTED]
Sent: Friday, February 28, 2003 3:21 PM
To: [EMAIL PROTECTED]
Subject: [PHP] MySQL Query Result Que
>What's e.g. mean?
Latin: exempli gratia
Translated: for example
i.e.
Latin: id est
Translated: that is
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Look up magic quotes in the docs.
http://www.php.net/manual/en/ref.info.php#ini.magic-quotes-gpc
The docs are mmm mmm good.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
The problem
is the " from the text is closing the " from the
html.
>
> --- Bryan Lipscy <[EMAIL PROTECTED]> wrote:
> > Look up magic quotes in the docs.
> >
>
http://www.php.net/manual/en/ref.info.php#ini.magic-quotes-gpc
> >
> >
> >
> >
Try
echo $sql;
To check your sql before execution.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
>Is the number by second, minutes, etc?
session.gc_maxlifetime specifies the number of seconds after which data
will be seen as 'garbage' and cleaned up.
http://www.php.net/manual/en/ref.session.php
Bryan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
'];
$pais = $_POST['$pais'];
$comentario = $_POST['$comentario'];
$sql = "INSERT INTO agenda (nombre, direccion, telefono, email, pais,
comentario) VALUES ('$nombre', '$direccion', '$telefono', '$email',
'$pais', '$comentar
Try: header("Cache-control: private");
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Trying to setup PHP with cURL support... I run this configure command:
./configure --with-mysql --with-apxs --with-openssl=/usr/local/ssl
--with-curl --with-mcrypt --enable-sockets
and receive this error:
/usr/local/lib/libcurl.so: undefined reference to `UI_OpenSSL'
Help!!
--
PHP General
download and install the apache web server. that along with php should do
the trick. if you're doing any database work you may want to pick up the
windows version of that too.
some decent instructions are here:
http://www.thesitewizard.com/archive/php4install.shtml
-Original Message-
Fr
$mail->BCC( "[EMAIL PROTECTED]" );
- Original Message -
From: "Oden Odenius" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, March 24, 2003 3:44 PM
Subject: [PHP] mail() Bcc:
How can send bcc: with mail()?
--
Programmers are tools for convert coffeine into code... (c) Oden
Anything in the apache error_log?
-Original Message-
From: Tom Tsongas [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 27, 2003 10:58 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Stupid question perhaps?
I just recently upgraded to PHP 4.3.1 and Apache 2.0.44. I had been
previously running
Use the Zend Beauford.
http://www.zend.com
For beginners: http://www.zend.com/interest/beginners.php
Using Google:
http://www.phpbuilder.com/manual/function.get-magic-quotes-gpc.php
-Original Message-
From: Beauford.2002 [mailto:[EMAIL PROTECTED]
Sent: Friday, March 28, 2003 1:54 PM
T
Yes, an excellent book.
-Original Message-
From: Kenn Murrah [mailto:[EMAIL PROTECTED]
Sent: Friday, March 28, 2003 2:14 PM
To: Mike; [EMAIL PROTECTED]
Subject: Re: [PHP] Is there a PHP for Dummies?
oh, and that reminds me ... another O'Reilly title, "PHP Cookbook" is
REALLY helpful if,
the world has come to an end :-P
- Original Message -
From: "Chris Edwards" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, April 01, 2003 3:35 PM
Subject: [PHP] whats this
> read: http://php.weblogs.com/
>
> --
> Chris Edwards
> Web Application Developer
> Outer Banks
Put the connect info into a php file (i.e. connect.php).
If it is ever directly accessed by the client the PHP engine will render
a blank page.
If your ini file is ever accessed by the client it will render the
contents of the ini file.
Wonder if removing rwx would adversly affect includes to th
In a php file I can just include the connection information and reduce
the overhead that comes with fopen. Still gives me one central spot for
changing connection information as necessary.
There is always more than one way to do it.
-Bryan
-Original Message-
From: Dan Joseph [mailto
Hi guys, just wondering if anyone could recomend a good editor that is based on
windows. Thanks, Bryan
how to use cookies and this is just a small application for private
use so I don't mind passing it using urls for this iteration of the project.
Also I'm not quite sure how to auctually perserve the variables across pages.
Thanks,
Bryan
how to use cookies and this is just a small application for private
use so I don't mind passing it using urls for this iteration of the project.
Also I'm not quite sure how to auctually perserve the variables across pages.
Thanks,
Bryan
rom unknown (HELO php.net) (64.246.30.37)
> by pb1.pair.com with SMTP; 2 Nov 2002 03:26:36 -
> Received: (qmail 19905 invoked by uid 99); 2 Nov 2002 03:23:02 -
> Date: 2 Nov 2002 03:23:02 -
> Message-ID: <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subjec
[EMAIL PROTECTED]
---
E-Mail: Bryan Cassidy <[EMAIL PROTECTED]>
Operating System: FreeBSD 4.6.2
Gaim: bsdsys
Yahoo Messenger: bsdsys
Please do not simply Reply-To: Bryan Cassidy
<[EMAIL PROTECTED]> It is
What is a variables value before said value has been assigned a value?
Thanks
Bryan
This might sound stupid but what the hell. I am running Red Hat 8.0
with Apache. I have apache working fine right now. I am wanting to
learn some php but really don't know where to start/look or anything
to tell the truth. I do "everything" from my FreeBSD 4.6.2 box but
Apache runs on Red Hat. With
I am getting this error with a new install of PHP4.2.1 and Zend
Optimizer 1.3.1:
The file '/tmp/phpr4WYQY' must be in the database directory or be
readable by all
I just updated PHP and the Zend Optimizer, and it had worked previously
with PHP4.1.2,
Any ideas??
Thanks
--
PHP General Mail
I need to use something like a session variable to make a variable available to an
existing form-invoked C++ program which takes as input a file being uploaded. Is this
even do-able ??If so, what am I missing here ???
The C++ prog used to use the REMOTE_USER env var set by the web server b
very quickly.
>
>oh and btw the correct way to set a cookie is with session_register(),
>$_SESSION is used for retrieval.
>
>John Bryan wrote:
>
>>I need to use something like a session variable to make a variable available to an
>>existing form-invoked C++ progra
On Tuesday, September 02, 2003, at 01:32PM, Ford, Mike [LSS] <[EMAIL PROTECTED]> wrote:
>On 02 September 2003 19:22, Raditha Dissanayake wrote:
>
>> Hi,
>>
>> Had a similar problem when building upload progress bar. Initially i
>> used cookies but that had a few minor hiccups. What you can do i
On Tuesday, September 02, 2003, at 02:04PM, Raditha Dissanayake <[EMAIL PROTECTED]>
wrote:
>Hello,
>If you use yes they will be part of the input
>stream. What i suggested was you have
> then you can
>retrieve the query string variable from the env. (at least this works
>with perl cgi and i
On Tuesday, September 02, 2003, at 01:55PM, CPT John W. Holmes <[EMAIL PROTECTED]>
wrote:
>From: "John Bryan" <[EMAIL PROTECTED]>
>
>> If so, the problem is that this file that is being uploaded
>> via the form to the program MyCppProg.exe gets sent
>
On Tuesday, September 02, 2003, at 02:04PM, Raditha Dissanayake <[EMAIL PROTECTED]>
wrote:
>Hello,
>If you use yes they will be part of the input
>stream. What i suggested was you have
> then you can
>retrieve the query string variable from the env. (at least this works
>with perl cgi and i
On Tuesday, September 02, 2003, at 05:12PM, Chris Shiflett <[EMAIL PROTECTED]> wrote:
>--- John Bryan <[EMAIL PROTECTED]> wrote:
>> So looks like I can't have it both ways, i.e. POST and GET
>
>Yes, you can.
>
>
>
>
>
>The script blah.php can re
When uploading a file, the built in functions let you get the filename,
size, type. If the file is an image, is it possible to also get the width
and height of the image?
Right now we are giving input boxes for the user to enter the correct
values, but I'd rather that my code do it for them. Th
I know that the XSLT functionality in PHP is experimental but is anyone
doing any work with these?
I've written some basic extensions to PHPLIB for XSLT and I am curious if
anyone has some more advanced research they can share.
The code that I have will return a dataset, format into XML, and th
the correct link to see my PHP/XSLT code is:
http://www.merchantempires.net/db_xsl.inc
--
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 PROTECTE
but I can't figure out where. Any help
would be appreciated!
-bryan
=
---
Schrodinger may have slept here.
---
copy. Accomplishing this is giving me fits,
however. Can anyone help?
-bryan
=
---
Schrodinger may have slept
For Linux (Unix) you can get a tool called imagemagik (not sure of
spelling) and do a system call to it from a php script.
Bryan
Francis Cronjé wrote:
>I am new to php and wd appreciate any help!
>I have been through the manual, but have found no solution:
>1.How do I resize
Hi.
I have a large database query that returns anywhere from 10-30ish
records. The problem comes from loading them in tables. With IE5 and
Netscape 5 on windows, the results do not display until the last
tag is written. Does anyone have any ideas on how to show the
results as the come from
Sometimes with certain PHP scripts, when a form is posted to another PHP
script, IE says the page cannot be found. It seems to happen randomly,
and if you refresh a couple times, you can then load the page.
Any ideas on why, and how to fix it?
Thanks,
--
PHP General Mailing List (http://
Try it with JavaScript (a very nice supplement to PHP sometimes )
\n";
print "document.location=\"index.html\";\n";
print "\n";
?>
Ben Turner wrote:
>I am trying to put together a very simple redirect from php. all it is
>supposed to do is pull down the $p var and ship the user off to the
>des
Does anyone know what the pros and cons of using mysql_fetch_object vs.
mysql_fetch_array.
I find it easier to use the object version because you dont have to code
any extra statements to put them into regular variables.
print "$obj->field_name";
as opposed to
$field_name = $row["field_name"];
Sorry,
"The page cannot be displayed"
DNS Error
Mike Frazer wrote:
>Page not found (error 404) or Page cannot be displayed (a DNS error, as
>stated at the bottom of the screen)? I've seen the latter of the two
>countless times, only in IE.
>
>Mike Frazer
>
&
ve seen the latter of the two
>countless times, only in IE.
>
>Mike Frazer
>
>
>"Bryan Gintz" <[EMAIL PROTECTED]> wrote in message
>[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
>>Sometimes with certain PHP scripts, when a form is posted to
I don't know if this will help, and it begs an answer from my earlier
question. But here is an easy way to fill a drop-down (?) box with a
mysql_query.
$sql="SELECT * FROM webl_players ORDER BY $sortby";
$result=mysql_query($sql,$db);
print "";
while($obj = mysql_fetch_object($result))
{
Personal preference, and all my code is written with that so far, but
seeing about the speed issue, that might change.
Thanks.
Jim Lucas [php] wrote:
>oh and mysql_fetch_object is a little slower then mysql_fetch_array()
>
>Jim Lucas
>- Original Message -----
>From: "
It does now, but supposedly, it still doesn't work.
I tried to force it to look for refresh by making the form action call
the script with a unique id
Nick Wilson wrote:
>-BEGIN PGP SIGNED MESSAGE-
>Hash: SHA1
>
>
>* and then Mike Frazer blurted
>
>>I have no idea what may work as
It was was just the script:
The script was there, and it would work if you refreshed it a bunch, but
then it would give page could not display error ??
Nick Wilson wrote:
>-BEGIN PGP SIGNED MESSAGE-
>Hash: SHA1
>
>
>* and then Bryan Gintz blurted
>
>>It
All of a sudden Mail through PHP just stopped working, we can do it
through the command line, but refuses to work in PHP.
Any ideas?
Thanks,
Bryan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
anyone had success using PEAR?
I have read the documentation and been trying to use the PEAR
files that came with PHP 4.1.2 , PEAR cvs and PHP4/PEAR cvs
with no success.
I wish there was some updated documentation, and more explanation
on which files to use for stable development. Every ans
VEN THOUGH the inserts were ACTUALLY made. I
have seen posts to the PHP site with users of php v.4.x.x complaining
about this problem, and so far no answers on what to do to fix the
problem(s). Any help would be greatly appreciated.
Thanks!
--Bryan
--
PHP General Mailing List (http://www.ph
I have an Apache 1.3.27 server configured with SSL, PHP and so on...
My problem is that PHP doesn't work under the SSL virtual host...it works
under other named virtual hosts and the main site, but it simply doesn't
work under the _default_:443 virtualhost for some reason...on any other
non-ssl pa
I've asked this question in 4 different places and in each place i've not
received a single response...is that because its too hard or too esoteric?
I need to get this resolved and i'm stumped...
Please help!
thanks again
-bryanw
-Original Message-----
From: Bryan Waters
ow to fix this?
Regards,
Bryan Simmons
Network Systems Engineer
General Physics
410.379.3710
[EMAIL PROTECTED]
__
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online.
http://taxes.yahoo.com/filing.html
--
PHP General Mailing List (http://www.ph
Browser and FTP client act as if the image
files do not exist, even though the directory
contents can be views via FTP...
What did I do?
Bryan
On Thu, 26 Feb 2004 17:56:25 -0600, Bryan Henry <[EMAIL PROTECTED]>
wrote:
Hello all,
I wrote a small script to rename a few thousand images
Looking throught my FTP client it seems that the
permission are the same? Could this be incorrect?
Should I chmod or chown through a shell? or using PHP?
~ bryan
On Fri, 27 Feb 2004 00:01:47 +, Michael Nolan
<[EMAIL PROTECTED]> wrote:
Check the permissions and ownership of the
Here is the script I used to rename images.
foreach ($config as $line) {
if ( $line == "" ) next($config);
elseif ( $line == "\n" ) next($config);
elseif ( strstr($line,"#")) next($config);
else {
$value = split(Chr(9),$line);
$imgs[$value[0]] = $value[1];
Chmod and file_exists report that the file does not exist,
even though I can view the files via the FTP client.
bryan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I realized that I did not trim the end line characters off of the file
extensions
after I grabbed all the file names from a text file. Now all the images
have
end of line chracters as part of the extension. I cannot access/edit the
files
through SHH, PHP or FTP...
Oh well...
bryan
On
images can be downloaded as binary files with
no problem..
I now have over 3000 images I cannot download or view
on our website. What about rename caused this?
Thank you,
Bryan Henry
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
This does not work:
require('languages/' . $language . '/' . basename($PHP_SELF));
This does:
require('languages/' . $language . '/' . basename($_SERVER['PHP_SELF']);
Why
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
IDE's?
thanks!
--Bryan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
1 - 100 of 153 matches
Mail list logo