Hello,
To test the http/php setup on one of my computers I wrote a
very simple html form, with two select fields,
two text fields, and the submit field. Pushing submit the
data are sent via POST method to an extremely simple PHP
page which only contains something like:
foreach (var, key) in
Hi there.Im cant just get to access a file in a directory form my localhost
dir.
The file : $loc = ./doos.txt i can access,
but the following i can't : $loc = .\files\doos.txt
What am i doibg wrong?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
I cannot compile this:
try that :
foreach ($HTTP_POST_VARS as $key = $var){
print VAR: $var KEY = $key;
}
Regards,
Andrey Hristov
- Original Message -
From: mweb [EMAIL PROTECTED]
To: phplist [EMAIL PROTECTED]
Sent: Friday, November 30, 2001 10:03 AM
Subject: [PHP] HTTP_POST_VARS
--
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]
The first one looks like a *nix directory and the second one looks like a
windows direcrory. Perhaps it will work if you switch your slashes around.
Fred
De Necker Henri [EMAIL PROTECTED] wrote in message
Hi all,
using mail() function to send a mail using php.
I want to send that mail so that the receiver should
not see the FROM address or the mail should go without
any FROM address.
Please write with an example !!
Thanking You,
Regards,
Kumar.
The first one works both ways!O and im working on windows
This works fine : $loc = ./doos.txt
This works fine : $loc = .\doos.txt
The second one does work at all!
Is it in the correct order/way?
-Original Message-
From: Fred [mailto:[EMAIL PROTECTED]]
Sent: 30 November 2001 10:25
To:
try:
reset($HTTP_POST_VARS);
at the begining of the code. if that doesn't work verify your html again.
make sure the select's are between the form tag. php doesn't ignore
certain form fields. =)
i'm the habit of reading arrays like...
while(list($k,$v) = each($HTTP_POST_VARS)) {
echo key is
http://download.php.net/manual/en/ref.mail.php
- Original Message -
From: Chamarty Prasanna Kumar [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, November 30, 2001 1:28 AM
Subject: [PHP] Help - mail
Hi all,
using mail() function to send a mail using php.
I want
I am trying to set my session data to be stored in MySQL so I am using
session_set_save_handler() which sets the six user-level session storage
functions (which I have already defined).
Will session_set_save_handler automatically run the appropiate storage
function when required (like when i say
Thanks Jason Jani!Both ur ways work!
$loc = ..\files\poese.txt
$loc = ..\\files\\poese.txt
But another question that comes to mind is that why must i include the '..\'
to move down to a sub-directory?
I thought '..\' moves up a directory tree!
This also works both ways :
$loc =
The LDAP sorting code I posted a couple of days ago was a bit lacking.
Here's a function that should work:
function myldap_sort($data, $attr) {
// -1 because of the count entry
echo #, $n = count($data) - 1;
for ($i=0; $i$n; $i++) {
$a[$i]=$data[$i][$attr][0];
}
Thanks Jason Jani!Both ur ways work!
$loc = ..\files\poese.txt
$loc = ..\\files\\poese.txt
But another question that comes to mind is that why must i include the '..\'
to move down to a sub-directory?
I thought '..\' moves up a directory tree!
This also works both ways :
$loc =
yeah good call on a type it should of been \s not \S
--
Jon Farmer
Systems Programmer, Entanet www.enta.net
Tel 01952 428969 Mob 07763 620378
PGP Key available, send email with subject: Send PGP Key
- Original Message -
From: Jim Musil [EMAIL PROTECTED]
To: py [EMAIL PROTECTED]
Cc:
just pico a file called myforms.csv or something.
use the first line for you schema...
name,date,comments,etc
chmod the file to rw permissions or chown to nobody.
$file = fopen(/home/myaccnt/public_html/protected/myforms.csv, w);
fputs($file,
Hi,
I'm trying to get payflow pro working on my server (unfortunately a client
took it upon themselves to get their gateway).
I am on a freebsd box and I am having all sorts of problems getting this
working. Either as an extension (pfpro.so) or just exec() externally.
I've read that Verisign
reset($HTTP_POST_VARS);
at the begining of the code. if that doesn't work verify your html again.
make sure the select's are between the form tag. php doesn't ignore
certain form fields. =)
i'm the habit of reading arrays like...
while(list($k,$v) = each($HTTP_POST_VARS)) {
echo key
Want to send mail through PHP script such that
the receiver of that mail should not contain FROM
header.
I used mail() function with empty FROM header and
even without FROM header, but the receiver is still
getting FROM address as [EMAIL PROTECTED]
You can't. The mail specification
Hello everyone! sorry, but thing i'm asking for is interesting for Ru.Net
users only so i'm gonna write it in Russian:
çÏÓÐÏÄÁ ÄÅ×ÅÌÏÐÅÒÙ! ðÏÍÏÇÉÔÅ ÓÔÕÄÅÎÔÕ - ÐÒÉÍÉÔÅ ÕÞÁÓÔÉÅ × ÓÏÃÉÏÌÏÇÉÞÅÓËÏÍ
ÏÐÒÏÓÅ, ËÏÔÏÒÙÊ Ñ ÐÒÏ×ÏÖÕ × ÒÁÍËÁÈ ÉÚÕÞÁÅÍÏÇÏ ËÕÒÓÁ ÓÏÃÉÏÌÏÇÉÉ.
ïÐÒÏÓ ÐÒÏ×ÏÄÉÔÓÑ ÎÁ ÔÅÍÕ ÉÓÐÏÌØÚÏ×ÁÎÉÑ
Thanks very much !! Smart solution !!
yes, I don't want to get reply from that mail.
Just looking for any solution..if u finds one
please let me know.
Regards,
Kumar.
On Fri, 30 Nov 2001 Johan Holst Nielsen wrote :
Want to send mail through PHP
Why does Russia have so much beautiful women?
-Original Message-
From: Valentin V. Petruchek [mailto:[EMAIL PROTECTED]]
Sent: 30 November 2001 12:45
To: [EMAIL PROTECTED]
Subject: [PHP] Student need help
Hello everyone! sorry, but thing i'm asking for is interesting for Ru.Net
$name1=a; $name2=b;
I want to do this
for($i=0;$i$nbname;$i++)
echo \$name$i;
output : a b
where \$name$i= $name1 , $name2 , $name3 ..
I try to print tha value of the vars $name1,. not the string
$name1,
Is it possible
REM : The vars $name1, com from a
Problem with that solution is some SMTP hosts will reject messages from
domains that do not resolve to the sending SMTP host. I would recommend
setting up a alias on sendmail and pipe all email to that address to
/dev/null
You would need to stress to your recipients that all replies to that
Jy word net ryker om op jou ass te sit.n Rand kos nou R14,85.
Wat se jy daar van?
--
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]
I've insatlled mandrake 8.1 from the ISO's I downloaded frrom their site.
Everything seems fine, but when I try to execute any software ie startx or
even pico from the command line then I get a cannot be found message
As I navigate through the directoires it seems that they have not been
?php
$name1 = 'value1';
$name2 = 'value2';
$name3 = 'value3';
for ($i=1;$i=3;$i++) {
eval (\$val = \$name$i;);
echo $val.'br';
}
?
Zliy Pes, http://www.zliypes.com.ua
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
Hello,
I am using the Unix version of PHP, and i would write some information from
the HTML in a Excel file. I was made this using COM functions in a Windows
version of PHP and it works. But COM functions are only available on the
Windows version of PHP.
I want to know how I can
hmm, youre right.
You can use this header maybe FROM: Do Not Reply nonexists@localhost
The SMTP should be able to resolve localhost?
Regards,
Johan
Jon Farmer wrote:
Problem with that solution is some SMTP hosts will reject messages from
domains that do not resolve to the sending SMTP
On Friday 30 November 2001 00:56, you wrote:
Hi,
I'm trying to get payflow pro working on my server (unfortunately a client
took it upon themselves to get their gateway).
I am on a freebsd box and I am having all sorts of problems getting this
working. Either as an extension (pfpro.so) or
Joshua Hoover wrote ...
I've been looking at a variety of software packages which allow you to
validate U.S. mailing addresses against the USPS's database.
Unfortunately, all of the products I've been able to find so far are
Windows based and only support interfacing via COM.
Have you checked
Hi guys,
I'm looking to edit this to just return one particular line rather than the
whole file:
?php
// get a web page into an array and print it out
$fcontents = file ('http://www.php.net');
while (list ($line_num, $line) = each ($fcontents)) {
echo bLine $line_num:/b . htmlspecialchars
hi,
i've created a mysql table from an excel csv dump and the field-order is
not the way i want it. could someone possibly give me a hint on how i
can create a copy of an entire column, place it in the position where i
want in my table, and then delete the original column?
i'm using phpMyAdmin
You can also use this syntax :
$var1=variable 1;
$var2=variable 2;
for ($i= 1; $i 3; $i++)
{
echo ${var$i};
}
-Message d'origine-
De : Olivier Masudi [mailto:[EMAIL PROTECTED]]
Envoyé : vendredi 30 novembre 2001 12:02
À : [EMAIL PROTECTED]
Objet : [PHP] HELP URGENT VARS !!!
hi,
i just wanted to put in a plug for my own code to generate dynamic Excel
or Word files here. it's ultra easy to use:
http://sourceforge.net/projects/php-doc-xls-gen/
thanks,
tom
Pavel Jartsev wrote:
Iván Toda Caraballo wrote:
Hello,
I am using the Unix version of PHP,
Tom
It's a relational database, field column position does not matter. One
Date's 121 rules, if I remember correctly.
In terms of human readability, it sometimes matters. Check the MySQL
manual, I think there's an example of this under the ALTER TABLE command.
But really, position doesn't
Fred,
I am more confused now that I know the script works your end.
I have the sample_db setup correctly, as I can connect to it if I change
the $default_dbname value to hold the sample_db.
Whatever I put in the $default_dbname variable I can connect to no trouble.
Passing the database as an
hi, miles:
i think you helped me hit on something big here. each time i've been
using INSERT statements in my php code, i've been addressing the field
names in exactly the order they appear in my mysql table. ie: i've been
using
$sql = Insert into $table_name(Name, Address, Phone)
I am talking about the final SMTP host.. it will do a reverse lookup on the
From: domain and if it dont resolve to the IP of the sending STMP host it
will reject it.
yes I know. But it the final SMTP tries to resolve the host (localhost)
it will get a response from it self? I haven't tried
?php
$which_column = 0; // starting from 0
$fname = some.csv;
$out_fname = some_new.csv;
$cschar = ,;
$f_cont = file($fname);
foreach ($f_cont as $key =$value){
$tmp = explode($cschar,trim($value));
$tmp[count($tmp)] = $tmp[$which_column];
unset($tmp[$which_column]);
$out_cont[]
The key will be to put some kind of 'if' around your echo statement, but
since you didn't say what the criteria for display is it's pretty tough
to help any further.
If the criteria is content driven, preg_match or ereg are you're answer,
if it's the X'th line in the file then you could probably
Dirty trick:
?php
$line_I_want = '47';
// get a web page into an array and print it out
$fcontents = file ('http://www.php.net');
while (list ($line_num, $line) = each ($fcontents)) {
// echo bLine $line_num:/b . htmlspecialchars ($line) . br\n;
if ($line_I_want == $line_num) {
Hello,
does anybody know how to get php4 work on a pws? I only know how to make
php3 (with binaries from www.php.net) work on a pws.
Maciej Wypij
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To
Hey there,
First of all please CC me as I'm no longer a member on this list. Sorry about
that but I receive too much :-(.
Please bear with me as I'm a new PHP scripter on the block
Ok for the question. I was under the impression that PHP would automatically
select the type for the vars
Ok for the question. I was under the impression that PHP would
automatically
select the type for the vars to use. However if I have a field in my form
where I insert only a 4 in I'd expect the var to be an integer
(or atleast
some other whole number type of var). However is_int fails on
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
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
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];
In article GNLT20$[EMAIL PROTECTED],
[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. the two
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
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
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 -
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
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:
SNIP
I thing that it's all ok but it doesn't work.
Any Ideas?
Hi
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
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, November
In article GNMDDQ$[EMAIL PROTECTED],
[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 were
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 PM
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
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
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.
--
PHP General
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 want
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]
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 maybe
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
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 is
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
(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
[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
--
Henrik
[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 unsubscribe,
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.
?php
function SendSite($yname, $ymail,
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 need an
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 do
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
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:
Our
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.
[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
--
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:
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
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 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,
Oops, you're right. I did not read that line nor was I aware of that.
I just tried ?php system(traceroute www.google.com); ? . 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
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 installation. PHP
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 TDIMG SRC=\images/spacer.gif\ WIDTH=\25\ HEIGHT=\1\
ALT=\\ BORDER=\0\/TD\n;
echo TDA HREF=\$key\
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 this
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]]
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
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 trtd$val/td;
while (list($sub_val, $sub_key) =
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, and
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
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,
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 use
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
Hello Darren,
Something quick is like that?
for($i = 0; $i 10; $i++) {
print $i.br\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
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 created
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 and
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,
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:
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
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
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
1 - 100 of 119 matches
Mail list logo