In article [EMAIL PROTECTED],
[EMAIL PROTECTED] (Aaron Moore) wrote:
resides in line 6 of test.php where i try to call a function which is in
function.php
the test.php file :
___
?php
require(functions.php);
snip
function.php file :
Umm, so is the
Should this work, if not, why not?
?php exec(mysqlimport -u root -ppasword test one.txt) ?
the import works fine from the command line
exec(ls) works too
TIA
Terry
On Mon, 3 Sep 2001 13:18, Ashlyn wrote:
I am using a downloaded PHP sitesearch script and can not get it to
read the page contents past the style sheet..
If I search a text file it will give me the contents exactly as I wish,
but if I search a html document it only gives me the page title
it still dosen't work
Help
Shimon
Richard Lynch [EMAIL PROTECTED] wrote in message
00f701c133ef$b52b5200$6401a8c0@Lynchux100">news:00f701c133ef$b52b5200$6401a8c0@Lynchux100...
You're missing a closing ) on the final print() statement...
--
WARNING [EMAIL PROTECTED] address
On Mon, 3 Sep 2001 17:00, taz wrote:
Should this work, if not, why not?
?php exec(mysqlimport -u root -ppasword test one.txt) ?
the import works fine from the command line
exec(ls) works too
TIA
Terry
Probably the user that your webserver, and hence your php script, runs as
does not
its functions.php
as i've said my include works... because i'm able to echo from it... i just
can't access the functions.
Cc Zona [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
In article [EMAIL PROTECTED],
[EMAIL PROTECTED] (Aaron Moore) wrote:
resides in
I am trying to use php 4.0.6 with imap. midgard and mysql
extentions compiled in.
When I start apache I get information in the logs about many child
proccesses dying. Yet I have plenty memory left and everthing else seems
OK. Not a lot of traffic here at 3.27 am.
I ran gdb and this is what I
should'nt I guess
I should at least specify full path of mysqlimport as in:
exec(/usr/local/mysql/bin/mysqlimport -u -p dada dasda)
Taz [EMAIL PROTECTED] wrote in message
002801c133f3$1e2204e0$0feafea9@reynolds">news:002801c133f3$1e2204e0$0feafea9@reynolds...
Should this work, if not, why
What was the solution?
Carry Ian [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]...
thanks to everybody who responded.
carry
Carry Ian
e-mail: [EMAIL PROTECTED]
--
Get real
I have a problem uploading files that just started the other day. I have
been using the same script for 8 mos.
Site is hosted at a hosting facility.
Anyone outside of our company router can still upload fine.
From our office noone can upload. Only 8097 bytes get sent.
Regular access to the web
After struggling with this for a bit, I determined that the problem was
not in fact with PHP but with Apache.
I wound up writing a mod_perl Apache module which took an incoming request
to a particular location and parsed out the stream to find the POST
content, and inserted it into the HTTP
Original message
From: [EMAIL PROTECTED] [EMAIL PROTECTED]
Date: Sat, Sep 01, 2001 at 08:55:15PM +0200
Message-ID: [EMAIL PROTECTED]
Subject: [PHP] potential preg_replace bug; unsure however
I built a Perl-style regex to match function calls in C-like
languages where $name is the functions
Perhaps someone from your Network group(or similiar) have put a restriction towards
that site for some strange reason. Ask your administrator and he probobly will know
the answer.
//Johan
-Original Message-
From: Tim Grubb [mailto:[EMAIL PROTECTED]]
Sent: den 3 september 2001 09:55
Hello Bob,
If someone's grandmother had balls, she would have been someone's
grandfather (Russian idiom).
Do you really think that the development language a company choose
will make the company successful ??
Saturday, September 01, 2001, 7:55:19 AM, you wrote:
B If PHP4 existed in 1995 then
are you sure that php_oci.dll is located in c:/php/extentions/ folder?
are you sure you have that file?
Soawarat Weangkawe [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
We have installed PHP4.06 manually to use it with IIS 5 on win2000server
We did everything
What do people do with required files? I have a file called config.php
which contains all my functions. It is 329526 bytes. Should I split this
up into other files? I don't think so, but what do others think?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL
Hi Maxim
People have been talking about the future of php and I think that it is the
functionality of the language that will propel php as the defacto language
for websites. If in 1995 you tell a project manager that I can program
hotmail.com in a couple weeks and that it would be a lot faster
Hy,
i would like to use the alpha channel funtionality in GD2 to put a jpeg
into a PNG (24bit) with alpha channel. As i'm a total newbie with GD,
i'd love to see some examples. Can somebody shed a light on this?
Greetings from Germany,
Daniel
--
PHP General Mailing List (http://www.php.net/)
What do you want to do to the BMP Images ?
- Original Message -
From: Girish P [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, September 01, 2001 10:55 AM
Subject: [PHP] Does PHP supports ..BMP images...
HI ,
PHP is not able to load bmp images... is there any setting to
Hello !
i have the following problem:
when using sendfax for sending a german text file including german
umlauts, i get: cannot determine file type ?!?
does anyone know how to modify typerules to handle that file type
correctly ?
one strange thing: when i try to sendfax from the shell,
Hi,
The company I work for is starting to lose contracts because they are not
capable of EDI. As I seem to be the only person in the company who has heard
of EDI and knows what it stands for I am assumed to be an expert :-)
Anyway, I would like to suggest that instead of EDI we use XML and use
Hi
I've put the full path in for mysql, i've included -h -u -p and included the
paths of the txt table files
Still don't work.
I'm logged in as root, working on my own box (linux) .
I'm really struggling with this one.
Has anyone out there done this ??
Many TIA
Terry
- Original Message
Hi all,
I am wondering, if I do the following:
class A {
function something() {
}
}
class B extends A {
function something() {
}
}
var $varB = new B;
$varB-something();
How do I make sure in the something() member of class B, that the parent
class member something() is also
hi
just a suggestion as itworked for me,
try to edit the dll in notepad and do a string search for dll without the
quotes
make sure all the dlls you find exist in your windows/system folder
that kind of error usually happens when there are some dlls referenced in
the extension;
www.php4win.de
Vincent Stoessel wrote:
I am trying to use php 4.0.6 with imap. midgard and mysql
extentions compiled in.
When I start apache I get information in the logs about many child
proccesses dying. Yet I have plenty memory left and everthing else seems
OK. Not a lot of traffic here at 3.27 am.
I've gone an annoying problem. On our site I've trapped file does not
exist errors at Apache level to send out my own error screen with a company
logo, link to home page and a mailto link, but this doesn't work for any
request for a page that would be parsed by php if it existed. In this case a
Hi
Is it possible to bulid PHP 4.0 and Apache 1.3.20 on Digital Unix 4.0E,
DEC ALPHA. I've only bulid and installed them on RedHat 6.x and 7.x, few
times without any problems :-))) . Is there any problems on Digital
Unix. Thank You for Your any advice or comments.
Krzysztof Kocjan
On Monday 03 September 2001 09:47, A. op de Weegh wrote:
How do I make sure in the something() member of class B, that the parent
class member something() is also called? Can I do this:
Hello there, person with the same name as self, :)
class B extends A {
function something() {
What does everyone suggest I use as a search engine for my Intranet.
Out Intranet has grown to a size where a search engine is needed. I use PHP
on Linux and I also use MySQL as my database.
Any suggestions?
Phil
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail:
Check this, but didn't the latest stable release of MySQL add search
capabilities to text fields, as in indexing key words? How is your database
structured? What do you use for keys? A simple form may be all you need.
For general indexing and searching of straight html there are htdig and
i get this error message
Parse error: parse error in /web/sites/197/lk6/www.stupeedstudios.f2s.com/sendcam.php
on line 53
for
$message = $alias. \r\n.$name. \r\n. $email. \r\n. $site. \r\n. $cam. \r\n.
$quote.;
i honestly dont see whats wrong!
-lk6-
http://www.StupeedStudios.f2s.com
Home of
There is a dot at the end which is wrong :
$message = $alias. \r\n.$name. \r\n. $email. \r\n. $site. \r\n.
$cam. \r\n. $quote.;
^
see this??
it should be like this :
$message = $alias. \r\n.$name. \r\n. $email. \r\n. $site. \r\n.
$cam. \r\n. $quote;
Regards,
Kunal Jhunjhunwala
- Original
haha, it works, thanks
1 single dot can screw up a script phew!
-lk6-
http://www.StupeedStudios.f2s.com
Home of the burning lego man!
ICQ: 115852509
MSN: [EMAIL PROTECTED]
AIM: legokiller666
- Original Message -
From: Kunal Jhunjhunwala [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Hi, small problem :
phpinfo() shows all kinds of useful variables like PHP_SELF,
PATH_INFO, etc etc but I can't see them from my script.
I get a error - Warning: Undefined variable: PATH_INFO in
[scriptname] on line 13
Is there any situation where such variables would be available to
Sagar [EMAIL PROTECTED] wrote in message
001b01c1347e$b58e2580$6dfb7ccb@ravella">news:001b01c1347e$b58e2580$6dfb7ccb@ravella...
I hope some one will solve my problem.
I have a table in which a field is of date type.
i want a mysql query to get all the records of the table
into an array of a
Hi, Folks!
Can I read from an mdb database direct from PHP like DBF,
for example?
[]´s
Rogerio Coelho.
Equipeweb - CompuLand Design
http://www.equipeweb.com.br
Tel/Fax:(xx) 24 237-2088
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
On Mon, 03 Sep 2001 15:11:04 -0700, you wrote:
Following up my own post (in case someone finds this in the archives):
Is there any situation where such variables would be available to
phpinfo(), but not the rest of the script?
You can't see $PHP_SELF within a function until you declare it
Hi, you can see the ODBCSocketServer application driver. Check some
related topics in the google.com search engine.
Atte. Ignacio Estrada F.
Centro Nacional de Control de Energia
Area de Control Occidental
025+6463, 025+6464, 025+6469
--
PHP General Mailing List (http://www.php.net/)
To
Hi,
I am creating an image made up of other images.
How can i read in a gif and put it onto the image I
am creating through php?
Thanks,
Mike
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To
Jon Farmer [EMAIL PROTECTED] wrote in message
003f01c1345c$53e385e0$[EMAIL PROTECTED]">news:003f01c1345c$53e385e0$[EMAIL PROTECTED]...
The company I work for is starting to lose contracts because they are not
capable of EDI. As I seem to be the only person in the company who has
heard
of EDI
Original message
From: David Otton [EMAIL PROTECTED]
Date: Mon, Sep 03, 2001 at 03:21:00PM -0700
Message-ID: [EMAIL PROTECTED]
Subject: Re: [PHP] Problem with PHP_SELF
On Mon, 03 Sep 2001 15:11:04 -0700, you wrote:
Following up my own post (in case someone finds this in the archives):
Is
Hi
I've put the full path in for mysql, i've included -h -u -p and included
the
paths of the txt table files
Still don't work.
I'm logged in as root, working on my own box (linux) .
I'm really struggling with this one.
Has anyone out there done this ??
Many TIA
Terry
-
No, we would have to spend around £24,000 sterling to get the modules. We
already have modules that allow importing of order, etc from txt files. I
could write a PHP XML parser to interface into this.
What I am not sure is how acceptable it will be to our customers
--
--
Jon Farmer
Systems
Try removing the last period(.) after $quote.
Also, try this method:
$nl = \r\n;
$message = $alias$nl$name$email$...so on and so forth.
Come to think of it, I think PHP has a constant for \r\.
I think its NL or something like that, I can't remember. Look in the
manual pages for some
Hi,
You can also try to use Java (the list is going to run over me with this
comment). Xerces parser is quite good and amazinly fast, and opensource.
We are validating XML document of 3Mb with it, and it is done in three
seconds (creating a DOM object). It is just another idea if you haven't
Hello Bob,
Monday, September 03, 2001, 1:08:40 PM, you wrote:
B If in 1995 you tell a project manager that I can program
B hotmail.com in a couple weeks and that it would be a lot faster then cgi
B then they would of been forced to use it and all the marketing would not
B matter.
Then (maybe)
I've never used method virtual but it seems to fit Your problem.
Explanation below.
Krzysztof Kocjan
virtual
(PHP 3, PHP 4 = 4.0b1)
virtual -- Perform an Apache sub-request
Description
int virtual (string filename)
virtual() is an Apache-specific function which is equivalent to
!--#include
You could also perhaps try this.
$message =
$alias
$name
$email
$site
$cam
$quote
;
Might not work in all cases though but it's certainly easier to read.
It all very much depends on personal preference.
Andy.
- Original Message -
From: John Monfort [EMAIL PROTECTED]
To: Kyle Smith
David Robley wrote:
On Mon, 3 Sep 2001 17:00, taz wrote:
?php exec(mysqlimport -u root -ppasword test one.txt) ?
Probably the user that your webserver, and hence your php script, runs as
does not have permissions to execute mysqlimport.
Or, mysqlimport is not in the path - try using the
Man, this is a real value!
I was in a trouble thinking how to publish data coming from the
administration area. Thinking in programming visual basic interfaces,
generate SQL inserts, etc. But now you can simply publish it and thats
all! Browsing with google, I found this well written article
-Original Message-
From: Alfredo Yong [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 03, 2001 11:05 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] MDB
2. The page at http://odbc.linuxave.net/, stated as the
source for the ODBCSocketServer server, is not on-line
now. Does
I couldn't help but frown at this message... This is typical of this and
hundreds of other lists... instead of learning the language, people just
jump in, try to write code, and then when something doesn't work, it's the
language's fault... It absolutely amazes me that such a huge number of
On Mon, 3 Sep 2001 09:16:00 -0700, you wrote:
I couldn't help but frown at this message... This is typical of this and
hundreds of other lists... instead of learning the language, people just
jump in, try to write code, and then when something doesn't work, it's the
language's fault... It
Hello everyone... I have been working on this random function for awhile
now.. and it is close to being complete. It works as for a random function.
But what my goal was is to make it where it goes through all the images
before showing a random twice. Kind of like you put all the images in a
Hello Everybody,
I have a software writen in Delphi which I am migrating to Kylix but I would like to
do it in PHP instead.
What the software does is to access an e-mail address and retrieve the messages saving
the files ending with .zip to a local directory. After that, it decompresses the
1) How to retrieve messages from a POP3 mailbox and save only
the ZIP files attachments?
A couple of ways.
1. Use the imap (it does pop3 too) extension to connect to the mail
server, parse the mails and extract the zip files.
2. Use mime decoding php scripts. There's one I've just committed
Try writing a custom error handler. Chech out
http://www.zend.com/zend/spotlight/error.php for a good article on the
subject. Pay particular attention to the bit at the end about output
buffering since I assume that what you would want to do is send a redirect
header to the browser if the script
Honestly, that seems like one damn big file to me. Are you using all
those functions in every single file? If not, you're loading and
(re)compiling
a hell of a lot of code on every page request. If you're done developing,
it may be time to split that up into more logical files (all db
I have made a detetor of relevance in found results in form of
colored ine od length depended on relevance. I did it this way:
In query I inserted match (...,...,...) against ('%$var%') as relevance
in while loop I inserted
$relevance = $row[relevance];
$rel = round($relevance);
print img
Hi,
I asked recently to help with the selection for FULLTEXT search
and now with your help I found how to do that but I still have
problem with advansed search.
This is what I have right now:
$result = mysql_query(SELECT skits.*,category.* from
skits,category where (skits.title like
Melih Onvural [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
i want to randomly choose a column in a database with a quote in it, by
the
number of the column.
i have a random seed working, but it won't pull only one column, but all
columns. How can I choose
On Mon, 3 Sep 2001, Dhaval Desai wrote:
session_encode($dhaval);
...
when I check out the c:\tmp\ directory and check out
the session data I can still read the same as
dhaval=trythisout and it's not encoded...is it coz the
session_encode() returns a string for you to use in a PHP script.
Brad R. C. [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
But what my goal was is to make it where it goes through all the images
before showing a random twice.
... if you actually want to do this, you will have to keep track
of which items you have seen in
speedboy wrote:
What do people do with required files? I have a file called config.php
which contains all my functions. It is 329526 bytes. Should I split this
up into other files? I don't think so, but what do others think?
I too am curious about a recommended or best practice. I create a
What do people do with required files? I have a file called config.php
which contains all my functions. It is 329526 bytes. Should I split this
up into other files? I don't think so, but what do others think?
I too am curious about a recommended or best practice.
what you want todo is
Yeah. Now that I understand more about COM and IDispatch
things are going smoothly.
Question: how do I close a connection to the COM object?
in general you simply call -release() on the component. if you call
release() as often as addref() (note that addref() is called implicitly
on
Can I increase speed by using this to buffer output ?
kind regards
Jeroen Olthof
--
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 PROTECTED]
Respecto al punto 1 la respuesta es SI, ya que no es necesario involucrar
PHP en este lado.
Atte. Ignacio Estrada F.
Centro Nacional de Control de Energia
Area de Control Occidental
025+6463, 025+6464, 025+6469
help!!!
I'm recursivley reading and editing every .htm and .html file in a 1000 page
website and upgrading it to contain linked CSS, Javascript includes and PHP
includes. the script works fine and all, trouble is that PHP doesn't.
Sometimes the script will run fine, other times PHP will decide
Why not just configure your server to use an auto_prepend_file ?
On Mon, 3 Sep 2001, skater wrote:
help!!!
I'm recursivley reading and editing every .htm and .html file in a 1000 page
website and upgrading it to contain linked CSS, Javascript includes and PHP
includes. the script works
what does that entail?
Rasmus Lerdorf [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Why not just configure your server to use an auto_prepend_file ?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
You know what.. that might just work the way I need it to... will try it out
tonight, thanks!!! :)
Brad C.
-Original Message-
From: Hugh Bothwell [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 03, 2001 1:05 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Re: Pulling a random image
Brad
Hi all,
I am filling out a form text area, and submitting it to the next page which just
prints what I submitted, but it doesnt print any returns, i used when i filled out the
previous text area
I found on php.net there is a ereg_replace funtion and a trim function but I am unsure
if either
In article [EMAIL PROTECTED],
[EMAIL PROTECTED] (David Otton) wrote:
I get a error - Warning: Undefined variable: PATH_INFO in
[scriptname] on line 13
Is there any situation where such variables would be available to
phpinfo(), but not the rest of the script?
Yes, where $PATH_INFO is
On Mon, 3 Sep 2001 [EMAIL PROTECTED] wrote:
I am filling out a form text area, and submitting it to the next
page which just prints what I submitted, but it doesnt print any
returns, i used when i filled out the previous text area
Try using nl2br() in the output script (page).
Skater wrote:
what does that entail?
Rasmus Lerdorf [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Why not just configure your server to use an auto_prepend_file ?
Reading the manual every now and then wouldn't hurt... really, it
wouldn't :).
snip
what does that entail?
Rasmus Lerdorf [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Why not just configure your server to use an auto_prepend_file ?
Reading the documentation that's easily available.
--
PHP General Mailing List (http://www.php.net/)
To
okay, sorry, had a blonde moment!!!
it's more than just having a prepend and appending file onto it, i'm
changing existing CSS into linked ones, existing Javascripts into includes,
and taking the whole thing out of frames by using PHP includes in a table.
each page needs to be edited and have
[EMAIL PROTECTED] wrote:
I am filling out a form text area, and submitting it to the next page which just
prints what I submitted, but it doesnt print any returns, i used when i filled out
the previous text area
I found on php.net there is a ereg_replace funtion and a trim function but I
Hi all,
Trying PHP for the first time. Snached the
authentication code from the docs and put it in phpauth.php.
When I surf to it, it just asks for my
user and password again and again If I hit Cancel, it prints the
little message just fine. Here's the code in case I'm the
only one to
Hi Maxim,
Hotmail was hot because nobody had ever seen free webmail and it spread by word
of mouth. I don't know but did anyone see a hotmail commerical???
What I am saying is that if php is always following or copying the technology
that happened a couple years ago then what's the point? php
What I am saying is that if php is always following or copying the technology
that happened a couple years ago then what's the point? php will then always be
known as the low cost option and project managers won't even give it a second
look. What I am looking for is the cool factor. I know
On Mon, 3 Sep 2001, Bob wrote:
look. What I am looking for is the cool factor. I know technology needs time
to improve but what's going to be cool in PHP5??? It's like a race that never
finishes and who is winning? ASP or PHP?
PHP5 will still run on your Free OS, your CLI OS, your Pay
So sprach »Kyle Smith« am 2001-09-03 um 14:50:49 -0700 :
i get this error message
Parse error: parse error in
/web/sites/197/lk6/www.stupeedstudios.f2s.com/sendcam.php on line 53
for
$message = $alias. \r\n.$name. \r\n. $email. \r\n. $site. \r\n. $cam.
\r\n. $quote.;
After the $quote,
So sprach »Andy Woolley« am 2001-09-03 um 16:37:08 +0100 :
Might not work in all cases though but it's certainly easier to read.
Also easy to read:
$msg = array(
$foo,
$bar,
$blah,
$blub
);
echo implode(\r\n, $msg);
Alexander Skwar
--
How to quote:
hi!
i'm trying to install php4 and apache 1.3.20.
so, installing apache works and installing php4 works, too.
but when i'm now trying to build a new apache with the php4 module
it gives up:
./config.status --activate-module=src/modules/php4/libphp4.a
make ---
leaving directory
I tried that one, and it didn't work...
Nicolas
VirtualHost foo
php_admin_value disable_functions strlen
/VirtualHost
On Fri, 31 Aug 2001, Nicolas Ross wrote:
I am searching a way of disabling certain functions in a particular
Virtual
Host.
I search through the archive of this
Hi all,
I am having a problem with a PHP script, in which I am using a self-written
OLE object to provide data to the script. I have two other OLE DLLs that I
also use in PHP scripts which work fine. I wrote all of the DLLs in Borland
Delphi, btw. (I am running PHP 4.0.6 and Apache 1.3.20 on
My ISP has a limit on my site of 10,000MB of data transfer per month.
4 days into september and I'm already at 2,500MB. It would seem they're
including requests by their own PHP server.
I have a folder of ~80kb images that are dynamically resized using PHP into
~1.4kb thumbnails. Now for each
Can someone tell me whats wrong with this... im getting a Syntax error in
INSERT INTO statement ... but i cant find anything wrong with the sql
code., or have i missed something..?
?
$text = yadayada;
$date= today...;
$connectionstring = odbc_connect(MYSKODB, Sa, );
I'm tring to get a login system going using PHP3 and MySQL. I'll have two
tables -- one containing the username and passwords of each user plus a
variable called Access which will hold what other parts of the scripts
they'll have access to and another containing the actual logged in sessions.
My ISP has a limit on my site of 10,000MB of data transfer per month.
4 days into september and I'm already at 2,500MB. It would seem
they're including requests by their own PHP server.
I have a folder of ~80kb images that are dynamically resized using PHP
into ~1.4kb thumbnails. Now
It's wrong of them?!?! Not to sound irrational here, but you're DOWNLOADING
the file every time, even if you are downloading it every time. Why are you
opening it through HTTP? Why not directly via the FS? If you're local to the
machine, that seems more intelligent. If you're not local to the
Yes. It works. It is great.
if(!isset($PHP_AUTH_USER) or $PHP_AUTH_USER != myuser or $PHP_AUTH_PW
!= mypassword) {
Header(WWW-Authenticate: Basic realm=\Only authorizeds web\);
Header(HTTP/1.0 401 Unauthorized);
echo ha!\n;
exit;
}
Lynn Holt wrote:
Hi all,
On Tue, 4 Sep 2001, Seb Frost wrote:
I have a folder of ~80kb images that are dynamically resized using PHP into
~1.4kb thumbnails. Now for each one the PHP server sends an HTTP request
for the 80kb image, and this is being counted against my 10,000MB.
Should it? Am I in the right in
On Mon, 3 Sep 2001 19:36, taz wrote:
Hi
I've put the full path in for mysql, i've included -h -u -p and
included the paths of the txt table files
Still don't work.
I'm logged in as root, working on my own box (linux) .
I'm really struggling with this one.
Has anyone out there done
Someone on this list yesterday exposed a large hole on one of my php
scripts. Dunno who you are but thankyou. I could have lost sales in that
loophole :-)
I know it was off of this list because that's the only place I made that
link public. Some lucky guy on BT openworld - wish I could get
I want to be able to include a graphic or something of that sort in a form
mail (using mail() from form). Is this possible?
Max
--
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
Hmmm, I suppose the files and the php server may be on different machines -
hadn't thought of that :-) I guess I need to make a compromise on my script
then.
- seb
-Original Message-
From: Chris Wesley [mailto:[EMAIL PROTECTED]]On Behalf Of
Christopher William Wesley
Sent: 04 September
Yep,
But you need to use a MIME email with file attachments.
Simple way to produce a MIME email:
http://planetkiller.shadow.net.au/mime-php.txt
Jason
--
Jason Murray
[EMAIL PROTECTED]
Web Developer, Melbourne IT
Work now, freak later!
-Original Message-
From: Max Mouse
1 - 100 of 127 matches
Mail list logo