Hi
I would like to email some log files as attachments, all the examples
use an html page with a file input box, how can i do it without the
file input box.
Many Thanks
--
Gregory Machin
[EMAIL PROTECTED]
[EMAIL PROTECTED]
www.linuxpro.co.za
Web Hosting Solutions
Scalable Linux Solutions
+27
S Kumar wrote:
Dear group,
I am trying to query my db and print the results.
when i execute my script, i am not getting any
result
except a blank page. can any one please help me what
is going wrong with my script.
Script:
$conn = pg_connect("user = $user dbname = $dbname
host
= $ho
karl james wrote:
I have since updated it.
And I am having issues with a function I suppose.
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result
resource in
/home/virtual/site38/fst/var/www/html/php/wrox_php/movie_details.php on line
119
http://www.theufl.com/php/wrox_php
Rinke Hoekstra wrote:
> I have a rather odd problem. Since a few days, my otherwise perfect SuSe
> 9.0 Apache2 server started to do some funny stuff.
> In general, php works fine, and I can do anything I want... after a
> little while Firefox/IE starts asking me whether I want to download/run
> the
I've managed to delete the original post, so apologies in advance if I got
the Subject wrong and/or am missing the threading headers.
Plus, this post isn't even strictly necessary, and could be construed as
pedantic. Oh well.
To change -40 to 40, http://php.net/abs is probably the best answer fr
QT wrote:
> I have a database with thousands records. And every minutes I am selecting
> 50 rows from that database and send some data to another web url according
> sellected 50 rows.
>
> Whenever, my script finish job in one minute, I have no problem. Because
> after each transaction, I am uptadi
Brent Clements wrote:
> I have always wondered this and maybe you guys can help.
>
> How do I underline a bit of text using True Type Fonts?
>
> Right now, I am creating imagelines but I don't think that's the most
> efficient way of doing it.
>
> Anybody know how to do "underlines" but using the f
Bogdan Ribic wrote:
> $b1 = is_null($x) or ($y > 5);
> $b2 = ($y > 5) or is_null($x);
To add to what has been posted already:
If 'or' isn't what you want '||' probably *IS* what you want.
Watch out though -- Sometimes even the precedence of '||' isn't as
high/low as I hoped, and if in doubt, use
GH wrote:
> I am working on a PHP based website and would like to offer media to
> my visitors... I have the Audio in WMA and MP3 formats... I would like
> to know how I could get them to "Stream"? inline... using PHP any
> advice would be greatfully appreciated
Having done this (a lot) I'll a
Sebastian wrote:
i'm working on a app which output files with readfile() and some headers..
i read a comment in the manual that says if your outputting a file php will
use the same amount of memory as the size of the file. so, if the file is
100MB php will use 100MB of memory.. is this true?
I d
Hello!
> i'm working on a app which output files with readfile() and some headers..
> i read a comment in the manual that says if your outputting a file php
> will
> use the same amount of memory as the size of the file. so, if the file is
> 100MB php will use 100MB of memory.. is this true?
>
> i
I think what Jose is trying to say, is that because 'or' has a lower
precidence than =, you are interpreting the expression wrong.
$b1 = is_null($x) or ($y > 5);
is the same as
($b1 = is_null($x)) or ($y > 5)
This assigns the value of is_null($x) to $b1, regardless of the result
of ($y > 5). It'
i'm working on a app which output files with readfile() and some headers..
i read a comment in the manual that says if your outputting a file php will
use the same amount of memory as the size of the file. so, if the file is
100MB php will use 100MB of memory.. is this true?
if it is, how can i wo
* Thus wrote Jack:
>
> What I want to do is have a file (like get.php) which will read the file on
> the drive, and then transfer it through to the client on the browser. (ie:
> get.php?file=/atcommand.txt )
>
> Is there a simple way to do this while reducing security concerns? (Ie:
> reading ../
Dear group,
I am trying to query my db and print the results.
when i execute my script, i am not getting any
result
except a blank page. can any one please help me what
is going wrong with my script.
Script:
$conn = pg_connect("user = $user dbname = $dbname
host
= $host password =
I would like bar::do_something_internal() to have an access level of
*private*
But this would fail, as the interface can only have *public* methods.
Is there a way to get bar::do_something_internal() to be private?
Or am I SOL, and it has be public?
Thanks
interface foo
{
function do_somethin
On Sat, 25 Dec 2004 15:36:05 -0500, Sebastian
<[EMAIL PROTECTED]> wrote:
> how do i get the path to my home directory..
>
> eg, /usr/home/
$_SERVER['home']
--
Greg Donald
Zend Certified Engineer
http://gdconsultants.com/
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
I am trying to get object data from a cisco AS5300 universal gateway
through snmp.
i am using the getsnmp,walsnmp etc functions of php.
my proble is.
i want to get cisco data using node address "1.3.6.1.4.1.9"( when we
start from the root of the tree) but php starts to look from the
"MIB" node
I was wondering if I could get some help on a minor problem I have.
Here's the deal I have set up on my system.
http://ftp.brajah.com/
I created this simple little interface to list files and directories in the
public ftp folder. The only problem is, I had to move the whole directory to
my web s
On Sunday 26 December 2004 16:41, [EMAIL PROTECTED] wrote:
> Have PHP 4.3.7, magic_quotes_gpc = On
> Have a multidimensional array made from values from a POST form.
> It addslashes() every field of the form as expected, like (') => (\'),
> etc.
> When I searialize the array to put it into a mysql
Hi!
Have PHP 4.3.7, magic_quotes_gpc = On
Have a multidimensional array made from values from a POST form.
It addslashes() every field of the form as expected, like (') => (\'),
etc.
When I searialize the array to put it into a mysql db it seems to fail
to describe the string lenght of values with
There is nothing on the website about the failed release of 4.3.10, I
don't know how many of us have had to back out from this update but it is
creating problems out in the wild.
The problems with 4.3.10 need to be identified and resolved, there is a
critical bug in 4.3.10 that consumes large
22 matches
Mail list logo