Hello Matt,
filesize() works only on local filesystems.
MM> It scares me that nobody has answered with filesize() yet.
MM> Matt
Ivan 'Faeton aka xetrix' Danishevsky
ICQ(240266) [EMAIL PROTECTED] www.xemichat.com
::: Documentation - The worst par
On Fri, Nov 30, 2001 at 07:04:08PM -0500, Uchendu Nwachukwu wrote:
> Is there any easy way to get the filesize of an image on a remote server?
>
> Please tell me there is! TIA
It scares me that nobody has answered with filesize() yet.
Matt
--
PHP General Mailing List (http://www.php.net/)
To
On Sat, Dec 01, 2001 at 12:15:37AM +0100, Jeroen Olthof wrote:
> let's say I have made some objects
> $content = new Content();
>
> and in object content a new object is created
> $person = new Person("Jeroen");
>
> Person holds a var age
>
> Now I want to do something like this in a normal PH
Hello C,
That means that you should create a .htaccess file containing that:
php_value allow_call_time_pass_reference 1
That should work :)
C> Prior to 4.0.6 it worked fine, however, now when I try:
C> $result = call_user_func("foo", &$bar);
C> function foo( &$bar ) {
C>$bar .= 'foobar'
Hello Prolog,
Hm... And what about:
print '';
instead of readfile?
P> if(file_exists(/images/$filename))
P> {
P> readfile(/images/$filename);
P> }
P> else
P> {
P> readfile(images/npat.jpg);
P> }
Ivan 'Faeton aka xetrix' Danishevsky
Hello Uchendu,
Maybe comething like that would do that:
http://www.foo.net/image.jpg";));
$size = strlen($fo);
?>
Eh? :)
UN> Not the dimensions. Of course I knew that.
UN> I want the file size, as in 'how many bytes'. GetImageSize() doesn't do
UN> that.
--
Prior to 4.0.6 it worked fine, however, now when I try:
$result = call_user_func("foo", &$bar);
function foo( &$bar ) {
$bar .= 'foobar';
return 1;
}
I get this:
Warning: Call-time pass-by-reference has been deprecated - argument passed
by value; If you would like to pass it by reference
Below is the result of your feedback form. It was submitted by
([EMAIL PROTECTED]) on Friday, November 30, 2001 at 20:45:27
---
: hey babe, it's karina remember me? if you don't im 5'8" with brown hair and blue
:eyes with
I had a script that was running beautiful that simply called up a database
and displayed the results in tables. I went to add images to this script
and all hell broke loose. This is the portion of the script that I added:
--
//filename is the item number + t.jpg -- t shorthand for thu
Filling these variables seems to work, but what is the header to send for
a valid login? I can't seem to suppress the dialog. I have an HTML form
which calls login.php.
When I access the script through a redirection in the login, I don't want
to see the prompt.
There seems to be a lot of examp
Not the dimensions. Of course I knew that.
I want the file size, as in 'how many bytes'. GetImageSize() doesn't do
that.
--
Uchendu Nwachukwu
newsreply AT unndunn DOT com - www.unndunn.com
"Kurt Lieber" <[EMAIL PROTECTED]> wrote in message
E169xrH-0001ED-00@z8">news:E169xrH-0001ED-00@z8...
> Ye
I'm having one page output XML for other sites to parse. Unfortunately if I
give an RSS parser the site (the php file) it errors out. But if I put the
output in a XML file, and give that to the RSS parser everything works
perfectly. Does anyone know why it can't read it straight from the php file?
As seen on NBC, CBS, CNN, and even Oprah! The health
discovery that actually reverses aging while burning fat,
without dieting or exercise! This proven discovery has even
been reported on by the New England Journal of Medicine.
Forget aging and dieting forever! And it's Guaranteed!
Click
Hi Folks,
I know I can get $REMOTE_USER info. How can I reset the remembered
user name and password in the browser for a specific URL from a PHP
program?
--
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
Michael Seely 408-777-9949
--
PHP General Mailing Li
> Hi,
> How can PHP work without the php.ini file? I have tried to find the
php.ini
> file on a RAQ3, to no success. Looking at the php info and then looking at
> the system directories doesnt yield anything.
> The same goes with a server running the Plesk control panel.
>
> Any ideas on how this
are you sure its not there? where does phpinfo say its located? its really
not there?
hmm...i'm not sure, but php might just use its own internal defaults without
a php.ini present, but i thought it was needed..who knows..
jack
-Original Message-
From: Kunal Jhunjhunwala [mailto:
What web server are you using? You can do this within IIS directly... if
it's apache you might go here:
http://modules.apache.org/search
and search for "auth" or "windows"... I've seen some modules that do
this... never used them though.
On Fri, 30 Nov 2001, EDUMEXICO wrote:
> Hi all, I kno
DEAR FRIEND!
If You show some interest and patience, and visit
http://www.escalix.com/freepage/goldflow/, You can earn up to $100,000 and
more during the following 120 days - it depends only on You. DOES IT SEEMS
TO BE IMPOSSIBLE??? Just visit link below and read attentively to be sure
there is n
Hi,
How can PHP work without the php.ini file? I have tried to find the php.ini
file on a RAQ3, to no success. Looking at the php info and then looking at
the system directories doesnt yield anything.
The same goes with a server running the Plesk control panel.
Any ideas on how this is done?
Rega
Hi all, I know that this is NOT the best answer, but maybe it works, so here it is:
when some people type a login and a password for access a secure page, you read that
values and the IP address of the user, then you tell smbclient to find the NT password
server (but if you know the addreess th
Hi, there is a module for apache that autorizes with mysql, the name of the module is:
mod_auth_mysql-2.20, that way you can protect files/directories with the .htaccess
method. Bye.
PD. The module is at: www.mysql.com
On Thu, Nov 29, 2001 at 08:59:05PM +, Hippie wrote:
> I'm attempting au
Got it! Turns out to be one of those obvious left-it-out errors that happens
when staring at the monitor too long. One other guy helped point this out
off-list. I'm at home now and don't recall his name, the emails being at work.
Thanks to all,
Chip
On Friday 30 November 2001 12:09 pm, Fred wr
Yes -- RTFM.
http://php.net/getimagesize
--kurt
On Friday 30 November 2001 04:04 pm, Uchendu Nwachukwu wrote:
> Is there any easy way to get the filesize of an image on a remote server?
>
> Please tell me there is! TIA
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail:
Is there any easy way to get the filesize of an image on a remote server?
Please tell me there is! TIA
--
Uchendu Nwachukwu
newsreply AT unndunn DOT com - www.unndunn.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-ma
Hello Daniel,
$date = $birth_year."-".$birth_month."-".$birth_day;
And you can try inserting such kind o' date to a DATETIME field.
There's an alternative way:
$time = mktime(0,0,0, $birth_month, $birth_day, $birth_year);
That would return a unix timestamp that can be written to a BIGINT
field
> You should really be storing your dates as datetime so you can take
> advantage of the date sorting functions. But then you'd need to use
> date() to format the string into -mm-dd format.
Thanks Jim.
but how would i actually do that? I have studied the date() function in the
manual - but c
Jeroen,
this will be possible with ZE2 (check out the Zend site for more info)
Jeroen Olthof <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> hi,
>
> let's say I have made some objects
> $content = new Content();
>
> and in object content a new object is creat
Hello Darren,
Something quick is like that?
for($i = 0; $i < 10; $i++) {
print $i."\n";
flush();
sleep(3);
};
Yeah? There it is:
www.xemi.info/flush.php
DG> Then I'm not sure. Perhaps someone in-the-know will respond to your
DG> question. Else, file a bug report. Your script runs fine on my
Good day,
Then I'm not sure. Perhaps someone in-the-know will respond to your
question. Else, file a bug report. Your script runs fine on my 'puter,
FYI.
Otherwise, it would be worthwhile to write something quick to test flush()
with. If it is also not working, it will provide more evidence
hi,
let's say I have made some objects
$content = new Content();
and in object content a new object is created
$person = new Person("Jeroen");
Person holds a var age
Now I want to do something like this in a normal PHP script
echo $content->getPerson("Jeroen")->getAge();
or since PHP doesn't
This may be a rough explanantion, but when you store numbers, the
length is not actually the number of digits, but the number of binary
digits it would use when converted from decimal to binary.
So, a length of 1, could only have 0 or 1 as inputs.
a length of 2 could only have 0,1,2,or 3
The e
Hello Daniel,
Maybe
$user_birthdate = (int) $birth_year.$birth_month.$birth_day;
would've solved the problem. :)
But i'm not 100% sure.
DA> I guess it´s too late here now .) It fixed itself when i altered the field
DA> type to varchar. Although - i don´t really get why it can´t store the vlaue
D
Hello Darren,
It's quick because of the fact that it's tracing a host near to my
server. If you have noticed - ping from my server to login.icq.com
that is being traced by default is only 10ms.
Try that: www.xemi.info/test.php?host=www.google.com
or something like that
I waited too long...
Thanks guys...
I guess it´s too late here now .) It fixed itself when i altered the field
type to varchar. Although - i don´t really get why it can´t store the vlaue
i am sendding it the field is of integer type.
- Daniel
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mai
Hello Daniel,
1 Dec 2001, 0:43:42, you've written:
What's the propery of field your are inserting your info to?
Is it INT or BIGINT or maybe TEXT? Try something new :)
DA> Hi,
DA> i have a strange problem.
DA> I get a users birthdate with three dropdown menus (year, month and day of
DA> mont
Good day,
For whatever reason, your traceroute command is returning results very
quickly. It may be functioning normally.
Perhaps you should try a command that will take much longer to execute, such
as "du / --max-depth=1".
Darren Gamble
Planner, Regional Services
Hi,
i have a strange problem.
I get a users birthdate with three dropdown menus (year, month and day of
month). I get these values into one string with:
$user_birthdate = $birth_year . $birth_month . $birth_day;
If i echo $user_birthdate after this it is correct (mmdd). But when i
insert t
Hello Darren,
You can try it yourself : www.xemi.info/test.php
What do you think?
Server config:
RedHat 7.1, Apache 1.3.20, PHP 4.0.6 loaded as a module.
PS. I tried everything. Simply everything.
DG> I am not sure what the problem is, then. I presume that you installed these
DG> via RPMs, an
The script is still working right, you just need to nest another
while loop into your current while loop.
Like so ...
if ($cat == 'bikes' && $sub_cat != 'Road') {
while (list($val, $key)=each($bikes[$sub_cat])) {
echo "$val";
while (list($sub_val, $sub_key) = each($key
Good day,
I am not sure what the problem is, then. I presume that you installed these
via RPMs, and have PHP operating as an Apache module. Does the simple
script provided fail as well?
Have you tried some simple scripts with sleep() and flush() to see if
flush() works?
If you don't hear from
It would be mighty handy for MySQL to have a binary file column type,
like Oracle, where the file was stored externally, outside of the rest
of the table data... Anyone heard of any plans to implement this?
-Original Message-
From: Julio Nobrega Trabalhando
[mailto:[EMAIL PROTECTED]]
Well, it's saying that because $key is an array;) For example,
"Mountain" is a $sub_cat:
> "Mountain" => array(
> "Trek" => array(
> "Fuel 100" => "mountain.php?brand=tfuel90",
> "Fuel 90" => "mountain.php?brand=schhg"
>
Hello Darren,
Linux RedHat 7.1, Apache 1.3.20, PHP 4.0.6
DG> Oops, you're right. I did not read that line nor was I aware of that.
DG> I just tried . It works
DG> exactly as it says it should- outputs the lines as they come in. I also
DG> know flush() works fine (at least for me).
DG> Perhap
No, all that will do is reverse the placement
of the values. So now it prints out Array
and puts the item in the URL. Still the same problem.
> -Original Message-
> From: Jim Musil [mailto:[EMAIL PROTECTED]]
> Sent: Friday, November 30, 2001 4:54 PM
> To: [EMAIL PROTECTED]
> Cc: [EMAIL P
Your script is working like you are asking it to ...
Change ...
while (list($val, $key)=each($bikes[$sub_cat])) {
To ...
while (list($key, $val)=each($bikes[$sub_cat])) {
and it should work like you WANT it to ...
>I'm stuck. $key returns "Array" how can I get at each
>level of th
I'm stuck. $key returns "Array" how can I get at each
level of this array?
if ($cat == 'bikes' && $sub_cat != 'Road') {
while (list($val, $key)=each($bikes[$sub_cat])) {
echo "\n";
echo "$val\n";
$bikes = array(
"Road" => array(
"Trek" => array(
change error level reporting
error_reporting()
-Brian
> -Original Message-
> From: Andy [mailto:[EMAIL PROTECTED]]
> Sent: Friday, November 30, 2001 2:38 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] declaring variables mandatory???
>
>
> Hello,
>
> I have a problem with my php installatio
Good day,
Oops, you're right. I did not read that line nor was I aware of that.
I just tried . It works
exactly as it says it should- outputs the lines as they come in. I also
know flush() works fine (at least for me).
Perhaps you could provide some information about your O/S and PHP versio
Hello Darren,
-- manual cut
The system() call also tries to automatically flush the web server's
output buffer after each line of output if PHP is running as a server
module.
-- manual cut
Hehe. The problem is not in flushing ability of system() foo, but
flush() itself
Good day,
flush() will just empty the contents of the output buffer when it's called.
You should do this after you output the command, yes, or the user will have
to wait until the rest of the page is loaded. But this won't let you see
the output as it is generated by the system() function.
You
Hello Julio,
Hm... I don't even know what to specify :)
The exact problem is using system("traceroute host.com"), but it
should've returned its results line by line, instead of executing the
whole command and then outputting its result.
That is done by flush(), which is executed by system() foo
Hi, please be more specific. Including what error you are getting, what is
the tools being used, and their versions.
Here's a quick help for producing better questions, wich will in turn make
us answer faster and with more quality:
http://www.tuxedo.org/~esr/faqs/smart-questions.html
PS:
[EMAIL PROTECTED] (Dan McCullough) wrote:
> somewhere in here ... I'm not familiar with the actual object, but if you have
>success withit I
> would like to hear how you are doing with it.
> http://www.simplewire.com/developers/code/
ahh yeah now i remember seing it :)
--
Henrik Hansen
-
Salute, PHP list :),
Aloha, ppl.
Could anybody explain 2 me what da heck is wrong with flush(). What
is needed for it to run as needed? :) If I'm to mistaken that should
be an php module for apache? And what if it's compiled together with
apache? I dunno what 2 do.
---
Yes most shared hosts will not allow the creation of multiple databases. Just one, so
you will
have to make use with table creation.
dan mccullough
programming/enginnering
603.444.9808
--- Sverre Johan Tøvik <[EMAIL PROTECTED]> wrote:
> At 15:19 -0500 30-11-01, [EMAIL PROTECTED] wrote:
>
> >
somewhere in here ... I'm not familiar with the actual object, but if you have success
withit I
would like to hear how you are doing with it.
http://www.simplewire.com/developers/code/
--- Henrik Hansen <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] (Dan McCullough) wrote:
>
> > Heres a code s
At 15:19 -0500 30-11-01, [EMAIL PROTECTED] wrote:
> Our web host does not support telnet or SSH for its clients and is not
> interested in working with PhpMyAdmin at the moment (I think I need their
> assistance if I want to use PhpMyAdmin, right?). Is this rather typical of
> web hosts?
You
That example I sent was from a place where they have the swsms shared object which you
can get in
a developers license, I havent actually tried it, but was looking at it for a project.
--- Henrik Hansen <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] (Dan McCullough) wrote:
>
> > I think you ne
which line the error was on ? and what was the error ?
I can not see why it would give any parse error
I have run this test program and it worked fine.. without any parse error.
It may be somewhere else in your code.
Here's my sample code.
\r\n";
$Headers.="X-Mailer: PHP/" . phpv
[EMAIL PROTECTED] (Dan McCullough) wrote:
> Heres a code snippet:
> Sorry for leading astray.
>
> // load the swsms module
> dl( "../swsms.so" );
never heard of a sms module in php, where can you get this?
--
Henrik Hansen
--
PHP General Mailing List (http://www.php.net/)
To unsubscrib
[EMAIL PROTECTED] (Dan McCullough) wrote:
> I think you need an SMS server to "broadcast" the data. Am I correct?
you can also send sms with the mail function, but a gsm modem is by
far the best, so for a stabile service either rent a sms service or
get somekind of a gsm modem. AFAIK
--
Henr
>(I think I need their
> assistance if I want to use PhpMyAdmin, right?
Most of the time, no. These are the lines you usually need to change on
PhpMyAdmin config file:
$cfgServers[1]['host'] = 'localhost'; // MySQL hostname
$cfgServers[1]['user'] = 'root'; // MySQL user
Our organization has a website that uses PHP and MySQL. In fact, at least
75% of our webpages are generated dynamically.
I want to run reports on the current MySQL database, create new databases
and create, copy and alter existing tables.
Our web host does not support telnet or SSH for its c
If you want to know exactly why mysql functions fail you should always, and
I do mean always, use this form:
$Result = mysql_query($Query, $Connection)
or die (mysql_error());
You will always get a fairly descriptive error from mysql. If you still do
not understand the error, at least you
I tackled a similar problem by running a root cron job that does the chown
and chgrp every x minutes.
Fred
Paul Warner <[EMAIL PROTECTED]> wrote in message
023601c179b6$a35bdd80$[EMAIL PROTECTED]">news:023601c179b6$a35bdd80$[EMAIL PROTECTED]...
> Ahh, it is not running with root priv., so this i
Check this url. Your error_reporting is set to E_ALL in the php.ini file.
Change it to suit your need.
On my machine I have error_reporting set as below in the php.ini file.
error_reporting = E_ALL & ~E_NOTICE
http://www.php.net/manual/en/function.error-reporting.php
- Original Messa
On Fri, 30 Nov 2001, David Tod Sigafoos wrote:
>-I have a script which generates html and writes out for users to
>-download. The script works and the html file works.
>-
>-I build strings of html then writeout with fwrite.
>-
>-My question is how can i add linefeeds to the strings?
\n
or ma
I'm not sure, but I'd check the Error level settings in php.ini. It might
be set to display stupid little warnings like this.
Good luck,
Tyler Longren
- Original Message -
From: "Andy" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, November 30, 2001 1:37 PM
Subject: [PHP] dec
Hello,
I have a problem with my php installation. PHP runs, but all my variables
have to be declared, othervise I am getting following error:
Warning: Undefined variable: next in
e:\projects\globosapiens\07_production\actual\forum\install.php on line 33
I guess this is only on my system, since
I have a script which generates html and writes out for users to
download. The script works and the html file works.
I build strings of html then writeout with fwrite.
My question is how can i add linefeeds to the strings?
Thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubsc
Well, you could go to www.hotscripts.com/PHP article and tutorials
sections.
But it is easy.
Delete syntax is:
This will boom every record.
DELETE FROM table;
This will boom every Joe:
DELETE FROM table WHERE name='Joe';
This will boom an id. That's probaly the way you want. A
look this:
http://hotwired.lycos.com/webmonkey/programming/php/tutorials/tutorial4.html
maybe it help you
andre
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, November 30, 2001 4:59 PM
Subject: [PHP] I'm getting frustrated with this.
> Hi,
> I just
Hi,
I just want a simple page that pulls the data from a database (got that
working fine, no problem),
and on that page I want to be able to have an option to delete entries. I
have tried what seems
to be the simplest method - using a form text field, enter the appropriate
info, and hit the submit
Heres a code snippet:
Sorry for leading astray.
// load the swsms module
dl( "../swsms.so" );
// create the sms object
$sms = create_sms();
// send the carrier list request
carrierlist_send( &$sms );
// check if the request was a success
if( ! $sms->success ) {
// display error inf
I think you need an SMS server to "broadcast" the data. Am I correct?
Anyone
--- Daniel Berwig <[EMAIL PROTECTED]> wrote:
> Does anyone know how could I send data from php through SMS to a cel phone?
> I simply can't find info about that.
>
> Thanks in advance,
>
> Daniel Berwig.
>
>
>
> --
I think you need an SMS server to "broadcast" the data. Am I correct?
Anyone
--- Daniel Berwig <[EMAIL PROTECTED]> wrote:
> Does anyone know how could I send data from php through SMS to a cel phone?
> I simply can't find info about that.
>
> Thanks in advance,
>
> Daniel Berwig.
>
>
>
> --
Does anyone know how could I send data from php through SMS to a cel phone?
I simply can't find info about that.
Thanks in advance,
Daniel Berwig.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To
> But that could be due to server capabilities of my ISP (if he has for
> example a high tech mysql-server and a relativly slow machine for apache).
Probaly :-)
From this page:
http://www.mysql.com/information/presentations/presentation-oscon2000-27
19/
You can read on section 'Gener
Tom Churm wrote:
>$sql = "Insert into $table_name(Address, Phone, Name)
>values('$Address','$Phone','$Name')";
>
>if this is true, it'll save me a lot of useless time trying to reorder
>my tables.
>
That be it :)
--
___ ____ _
Chris Hobbs / \ \
PHP automatically calls the appropiate function instead if you.
But consider that the save handler is not called on individual
session_register functions, only when all output is gone, and
the whole session - each registered variable - must be saved.
Note: The "write" handler is not ex
Hello,
I want start ZendOptimizer with a .htaccess
this is in my .htaccess:
--
php_value zend_optimizer.optimization_level 15
php_value zend_extension "ZendOptimizer.so"
--
ZendOptimizer.so is in the same directory.
It does'nt seem to word. Do i someythnig wrong?
Tnx,
Bas
--
PHP General M
I did do that for a galery-script of myself. I don't have any numbers if
you'r looking for that but my personal impression was, that the picture
output from the mysql-db is actually faster than reading directly from disk.
But that could be due to server capabilities of my ISP (if he has for
exampl
Hey there,
once again... sorry but I'm not on the list so please CC me :-)
I was in the assumption that you needed to use addslashes on a var you
retrieve from a form to properly insert it into the database. Well I'm not
using it and I can put ",\n,\t etc in my webform but SQL won't evaluate t
Hi all,
I try to install new 2.0.28 apache on window NT.
Apache works fine, but I cannot run php scripts.
I think I missed something on .conf to load php, but what ?
any idea ?
Yhanks for help
François Tissandié.
Embrassez ceux que vous aimez
Atos-Infogérance
Tour MANHATTAN
6 Place de l'Iris
Set include_path to the place where is your php_mysql.so
and uncomment
extension=php_mysql.so
Regards,
Andrey Hristov
Bye
- Original Message -
From: "Riccardi Moreno" <[EMAIL PROTECTED]>
To: "Andrey Hristov" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Friday, November 30, 2001 5:45
In article ,
[EMAIL PROTECTED] (Mweb) wrote:
> > One or more options in each select field are selected, right? Fields
> > having no values (such as unchecked radio buttons, etc.) don't get passed.
>
> Yes, I know empty values are not passed, and, yes, the options wer
Ahh, it is not running with root priv., so this is the problem. Sounds like
a good time to look
for another way to skin this cat...
Thanks!
-- Paul
- Original Message -
From: "Darren Gamble" <[EMAIL PROTECTED]>
To: "'Paul Warner'" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Friday,
I've been searching for the best way to store images that would be
used in a dynamic site. In this situation, a site admin would upload
images via a php script. Obviously this creates several problems.
To prevent naming problems, I have php name all the uploaded images
and store the name in a
> > Hello,
> > I've got cobalt raq4 with php(work) and mysql(work) but when I try to
> > connect via mysql_connect() this error happens:
> > Fatal error: Call to undefined function: mysql_connect()
> > This is my php.ini:
> > I thing that it's all ok but it doesn't work.
> > Any Ideas?
> >
> > Hello,
> > I've got cobalt raq4 with php(work) and mysql(work) but when I try to
> > connect via mysql_connect() this error happens:
> > Fatal error: Call to undefined function: mysql_connect()
> > This is my php.ini:
> > I thing that it's all ok but it doesn't work.
> > Any Ideas?
> >
Good day,
What user is the application running as? Only the superuser can use these
functions (this is documented with both of these functions).
For security reasons, you may want to use an external sudo script to
accomplish this. Be very, very careful...
Darren G
Fatal error: Call to undefined function: mysql_connect() means to things. php is not
built with integrated mysql support, or php
cannot find php_mysql.so on your comp. What is the value of php.ini variable
include_path or something similar.
Regards,
Andrey Hristov
- Original Message -
F
> One or more options in each select field are selected, right? Fields
> having no values (such as unchecked radio buttons, etc.) don't get passed.
Yes, I know empty values are not passed, and, yes, the options were
selected (I tried with different values because I started thinking
I was having
I have a client that I made a image uploader/thumbnailer for
that insists on using FrontPage. In order to make FP
happy, I need to set the owner to 'nobody' and the group
to 'site3' which are uid 99 and gid 117. The uploaded file
is set as httpd/root and the thumbnail created by the script
comes
In article ,
[EMAIL PROTECTED] (Mweb) wrote:
> foreach (var, key) in HTTP POST VARS {
>
> print "VAR: $var KEY = $key
> }
>
> It works, (meaning that php code is correct, html output is displayed,
> and no error are reported) but only prints three lines, i.e
If you mail via pfsockopen, then you specify the sender which must be
real, but you also specify the From: header which can be anything you
want.
ex:
$smtp_server = "your.smtp.server";
$port = 25;
$mydomain = "yourdomain.com";
$sender = "[EMAIL PROTECTED]";
Mweb,
Set your ODBCINI environment variable (and others) as per the HOWTO at
www.iodbc.org.
This HOWTO is for iODBC, but the concepts are the same for this error
condition.
Best regards,
Andrew Hill
Director of Technology Evangelism
OpenLink Software http://www.openlinksw.com
Universal Data Acc
First of all please excuse my ignorance if anything that I ask here is
impossible or a common question, I have searched but not found the answer.
I'm working with composite images which at the moment are dynamically
produced and set in html layers. The problem is that I want the user to be
able t
> or remove the {$len} to not check for a length
>
Sorry I meant replace the above with *
m:
--
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 PROT
1 - 100 of 154 matches
Mail list logo