Hi All,
Is it possible to get client's machines network properties like
Netmask, Default gateway, I can get the IP address, but unable to get
other details.
zareef ahmed
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
subj. its really to develop on php language applications with GUI (for
windows/linux), but not php-gtk.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
I have this code :
page1.php:
?
$nfo[fu]=12;
session_start();
session_register(nfo);
$sn=session_name();
$nn=session_id() ;
$web=page2.php?lang=en;
$web.=$sn=$nn;
header(Location: $web);
?
===
page2.php:
?
session_start();
global $nfo;
$uss=$nfo[fu];
echo $uss;
Hi
-Original Message-
From: Rosen [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 31, 2005 11:31 AM
To: php-general@lists.php.net
Subject: [PHP] Session problem
Hi,
I have this code :
page1.php:
?
$nfo[fu]=12;
session_start();
session_register(nfo);
For good
Hi there,
I am facing a problem in getting all values from a form.
There are loads of input check boxes in there which are named:
x_1, x_2 etc.
Now I want to get that post data into an array.
Somehow like this:
for ...{
$interests[] = $_POST[x_1];
}
The problem is that the script does not know
On Thu, 31 Mar 2005 12:45:04 +0200, Merlin [EMAIL PROTECTED] wrote:
Hi there,
I am facing a problem in getting all values from a form.
There are loads of input check boxes in there which are named:
x_1, x_2 etc.
Now I want to get that post data into an array.
Somehow like this:
for
I am learning how to use Zend studio 4.0 debugger. With internal mode, when
I debug a program that needs a connection to a Mysql database, I get the
message Fatal error/b: Call to undefined function mysql_connect() in
bD:\Program Files\Apache Group\Apache2\htdocs\topiclist.php.
My php version
Ken wrote:
On Thu, 31 Mar 2005 12:45:04 +0200, Merlin [EMAIL PROTECTED] wrote:
Hi there,
I am facing a problem in getting all values from a form.
There are loads of input check boxes in there which are named:
x_1, x_2 etc.
Now I want to get that post data into an array.
Somehow like this:
for ...{
php time_test.php
PHP Warning: Unknown(): Unable to load dynamic library './domxml.so'
- ./domxml.so: cannot open shared object file: No such file or
directory in Unknown on line 0
PHP Warning: Unknown(): Unable to load dynamic library './imap.so' -
./imap.so: cannot open shared object file: No
-Original Message-
From: Merlin [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 31, 2005 12:45 PM
Hi there,
I am facing a problem in getting all values from a form.
There are loads of input check boxes in there which are named:
x_1, x_2 etc.
How do You create these names? See
either the directory or file dont exists or you dont have rights to
access them
hope this helps
Angelo
Jerry Swanson wrote:
php time_test.php
PHP Warning: Unknown(): Unable to load dynamic library './domxml.so'
- ./domxml.so: cannot open shared object file: No such file or
directory in Unknown
I think I have meantioned this before, but now I have noticed it.
Whenever OSX runs an update it screws the PHP5 cli sidewways i got this
error again
pear install HTTP_Session
dyld: /usr/bin/php Undefined symbols:
_OnUpdateLong
_OnUpdateString
_compiler_globals
_executor_globals
_sapi_globals
Interesting comments from all.
It would seem that despite disagreements, OSX clearly can hold its own.
According to Netcraft, its does serve 4 of the top 50 sites on the
survey, 11- www.apple.com (which is mixed with Solaris), 12-
www.army.mil, 21- www.mdgcs.com and 46- apple.com (OSX Only). I
Gerald Artman wrote:
Interesting comments from all.
It would seem that despite disagreements, OSX clearly can hold its own.
According to Netcraft, its does serve 4 of the top 50 sites on the
survey, 11- www.apple.com (which is mixed with Solaris), 12-
I would *hope* that Apple would use
DemonGloom wrote:
subj. its really to develop on php language applications with GUI (for
windows/linux), but not php-gtk.
Go ahead and implement wxWindows extension. Or Qt, or fltk, or... :)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello Supersky,
Thursday, March 31, 2005, 11:49:37 AM, you wrote:
S I am learning how to use Zend studio 4.0 debugger. With internal
S mode, when I debug a program that needs a connection to a Mysql
S database, I get the message Fatal error/b: Call to undefined
S function mysql_connect() in
Hi,
I've set the following:
$nscfg['url'] ='http://www.domain.com/';
$nscfg['secure_url'] ='https://domain.com/';
$nscfg['site root'] = '/Users/username/public_html/';
$nscfg['base'] = 'http://www.domain.com/';
// For use in the HTML documents
define (URL, $nscfg['url']);
// where to find Articles
Burhan Khalid [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Satyam wrote:
This is just an idea I'm (quite unsuccessfully) been working on.
It appears to me that PHP sits between a database and a web browser.
On the database side, something I would love to have is embedded SQL,
Ave,
Simple problem..
Following is a statement I¹m inserting in my PHP Script... But it doesn¹t
work because I¹m not able to figure out how to put the variables with the
trim() function in the SQL insert statement:
$sql = INSERT INTO tblname (USERID,FULLNAME,SSN,STARTDATE) VALUES
Hello Jackson,
Thursday, March 31, 2005, 3:20:11 PM, you wrote:
JL What am I doing wrong when I try to make this:
JL ?php include_once INCLUDES.include.php; ?
Be sure you don't define a reserved word, but to get the above working
do:
include_once(INCLUDES . 'include.php');
Best regards,
[snip]
$sql = INSERT INTO tblname (USERID,FULLNAME,SSN,STARTDATE) VALUES
(trim($row[USERID]),trim($row[FULLNAME]),trim($row[SSNO]),trim($row[STAR
TDAT
E]));
[/snip]
Time to quote and concatenate and make pretty...
$sql = INSERT INTO tblname (USERID,FULLNAME,SSN,STARTDATE) ;
$sql .= VALUES ( ;
You should not just give him the code but rather tell him why.
1. trim() is a php function. MySQL does not know what to do with it. You
need to place it 'outside' of the sql. You can also do something like this:
$userid = trim($row['USERID']);
Then use $userid in your sql.
2. Items in arrays
This has been the one I wanted to try, but I needed to hear from someone
that could recommend it. Now I'll do a test install on my Linux play box.
Many thanks...
Todd
Andre Dubuc wrote:
On Wednesday 30 March 2005 08:19 pm, Josip Dzolonga wrote:
Todd Cary wrote:
When I went to a site that lists
[snip]
You should not just give him the code but rather tell him why.
1. trim() is a php function. MySQL does not know what to do with it. You
need to place it 'outside' of the sql. You can also do something like
this:
$userid = trim($row['USERID']);
Then use $userid in your sql.
2. Items in
Jay Blanchard wrote:
Ya'll bitch when I make them RTFM, ya'll bitch when I do codewhat's
a guy to do? j/k
Don't get married? ;)
--
John C. Nichel
ÜberGeek
KegWorks.com
716.856.9675
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Ave,
Thanks a lot folks.
I did actually mention that doing something like
$userid = trim($row['USERID']);
And then using those variables in my SQL statement would work... The only
reason I chose to make this post however and not do that was because I
wanted to know if it can be done the other
well...i would have told him to go pound sand...the php manual is great
and so is the MySQL manual. People are just lazy.
[/snip]
Ya'll bitch when I make them RTFM, ya'll bitch when I do codewhat's
a guy to do? j/k
Actually http://dev.mysql.com/doc/mysql/en/string-functions.html shows
that
On 3/31/05 12:45 PM, Joseph Connolly [EMAIL PROTECTED] wrote:
well...i would have told him to go pound sand...the php manual is great
and so is the MySQL manual. People are just lazy.
Ave,
Pound sand .. Interesting.
And yes, both the manuals are great, and people are extremely lazy and
Hi
I got a simple problem:
I need to have allow_url_fopen on for a certain directory and so I
wanted to control it by .htaccess file.
now I can control other php_flags like register_globals in this
directory (so apache allows the Override) but I just simple can't get
the following line to work:
allow_url_fopen can only be set in php.ini. See here for more info:
http://us2.php.net/manual/en/ref.filesystem.php#ini.allow-url-fopen
On Thu, 31 Mar 2005, Neo Theone wrote:
Hi
I got a simple problem:
I need to have allow_url_fopen on for a certain directory and so I wanted to
control it by
I'm looking for a script that would require a user to change their password
every 30 days. Does anyone use a script that has functionality similar to
what I'm looking for?
Thanks,
Dave
HTC Disclaimer: The information contained in this message may be privileged
and confidential and
I asked this in the windows section yesterday and received no answer.
I have copied the sample of gmp_add() from the function page and have tried
to run it from the snap that I downloaded this morning with the recommended
ini that is in the folder with it and I keep getting the error here.
PHP
Coincidentally, I also need a way to read a table from MySQL and write
it out to an .MDB file on-the-fly (from within a PHP script).
The CSV export idea isn't an option in this case.
Has anyone found a way to create an MDB file (with a single table) from
PHP?
...Rene
On 28-Mar-05, at 7:18 PM,
Interesting,
There were about a dozen or so comments on the question posed. I saw
many alternatives presented, except OSX. When presented, there were a
number of responses questioning the viability. When evidence is
presented to support the issue, the response is 'FUDSPAM' and it is not
a PHP
Hi Jon,
You need to install the gmp extension. Not sure if this is included in the
snaps builds, but you should be able to download it from my site:
http://kromann.info/php.php.
- Frank
I asked this in the windows section yesterday and received no answer.
I have copied the sample of
Gerald Artman mailto:[EMAIL PROTECTED]
on Thursday, March 31, 2005 11:50 AM said:
Even Mr. Torvalds uses a G5 from Apple :-)
Well yeah... but he doesn't run OSX or write PHP applications. So what
does his running Linux on a PowerPC have to do with the best server
platform?
From
In my HTML file the HREF tag is: A
HREF=www.google.com TARGET=_blankgoogle.com/A
When clicked, the link in then directed to:
http://10.10.1.5/test-a/ref/www.google.com
Basically it seems like it appends the link to the URL
path.
Is this a PHP or Apache problem and how do I fix it?
-Aaron
I've got a client who uses Filemaker Pro and I'm trying to parse some of
their data. However, the checkbox data of theirs is giving me fits. From
what I've read, it's supposed to save checkboxes as data separated by
carriage returns. However, in looking at the data in EditPlus I can't
discern
germ germ wrote:
In my HTML file the HREF tag is: A
HREF=www.google.com TARGET=_blankgoogle.com/A
When clicked, the link in then directed to:
http://10.10.1.5/test-a/ref/www.google.com
Basically it seems like it appends the link to the URL
path.
Is this a PHP or Apache problem and how do I fix it?
Theres instant2c pro at securecents.com, but that might be like using a tank
to kill a fly :-D
On 3/31/2005 11:18:31 AM, Bosky, Dave ([EMAIL PROTECTED]) wrote:
--_=_NextPart_001_01C53626.6CCF76C0
Content-Type: text/plain
I'm looking for a script that would require a user to change
Nick Zukin wrote:
I've got a client who uses Filemaker Pro and I'm trying to parse some of
their data. However, the checkbox data of theirs is giving me fits. From
what I've read, it's supposed to save checkboxes as data separated by
carriage returns. However, in looking at the data in EditPlus
On Thu, 31 Mar 2005 14:18:31 -0500, Bosky, Dave [EMAIL PROTECTED] wrote:
I'm looking for a script that would require a user to change their password
every 30 days. Does anyone use a script that has functionality similar to
what I'm looking for?
Thanks,
Dave
I got do it so using a
Just tried a str_replace using chr(29) and it didn't work. Thanks for
trying so quickly, though.
Nick
-Original Message-
From: John Nichel [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 31, 2005 12:43 PM
To: php-general@lists.php.net
Subject: Re: [PHP] Filemaker Checkbox Data
Nick Zukin wrote:
Just tried a str_replace using chr(29) and it didn't work. Thanks for
trying so quickly, though.
Nick
Good luck. Filemaker has some wierd stuff in it. If you find the
answer away from the list, please let us know, as some of us are stuck
with working with it too. :(
--
John
Dear Richard,
Thanks.
After I swaped to PHP4 option in the preference of Zend Studio, I can
connect to the database. However, other problems arised. The problem might
be that my PHP version installed is 5.0.3 indeed.
Best regards,
Supersky
Richard Davey [EMAIL PROTECTED] wrote in message
Hello, hard people.
I want to do this, I like to upload image file,
What can I do?.
somebody help me.?
best regards TOMAS
-
Este correo fue escaneado en busca de virus con el MDaemon Antivirus 2.27
en el dominio de
Will do. The only funky workaround I've found so far is just pasting the
character into a str_replace. It appears as a little unknown character box
in both EditPlus and Dreamweaver. What's funny, though, is that if I try to
paste it as part of the line here in Outlook 2000 like this:
$mystring
Hello all,
I am hoping someone can point me in the right direction to resolving an odd
bug. I tried searching the bugs database and groups, but I can't think of
the terms to use while searching for my problem that the search system will
accept.
I have a script like the below, copied from the
Hello Tomas:
take a look at:
http://www.php.net/manual/en/features.file-upload.php
and for an example, take a look at.
http://www.tek-tips.com/faqs.cfm?fid=5699
Good Luck.
On Thu, 31 Mar 2005 17:48:37 -0800, Tomás Rodriguez Orta
[EMAIL PROTECTED] wrote:
Hello, hard people.
I want to do
Nick Zukin wrote:
Will do. The only funky workaround I've found so far is just pasting the
character into a str_replace. It appears as a little unknown character box
in both EditPlus and Dreamweaver. What's funny, though, is that if I try to
paste it as part of the line here in Outlook 2000
Hi, ho,
I have a problem; something which works locally is complaining on the
BSD Unix server I use:
The Code: (somewhere else I define $image_dir)
!-- If there's an image, get it, get its height and width and slap it
into an image tag, otherwise, move on --
?php if (!empty($article['image']))
Hi all,
I've search google left and right. Search archive after archive for
various tips using various search strings and I cannot for the life of
me find an answer.
Let me explain the situation. We have an LDAP directory that our users
are stored in. It's not AD or Novell just plain OpenLDAP.
$image_dir is an url (begins with http:// or similar) and
allow_url_fopen is off on your BSD.
Do you need to access it using url wrappers? If the images are local you
can access them using plain filesystem access
Jackson Linux wrote:
Hi, ho,
I have a problem; something which works locally is
OK, so I built php-5.1.0-dev from source using cygwin / gcc.
- buildconf ran ok
- configure ran ok
- make ran ok
- make install failed. Output was:
Installing PHP SAPI module: cgi
Installing PHP CGI into: /usr/local/bin/
Installing PEAR environment: /usr/local/lib/php/
Signal 11
My provider has provided me the solution: adding
php_flag allow_url_fopen on
to the .htaccess
Apologies to the list for wasting time and bandwidth.
Jack
On 31 Mar 2005, at 17:47, Jackson Linux wrote:
Hi, ho,
I have a problem; something which works locally is complaining on the
BSD Unix server I
I don't think it's a case of 'finding a way'. I think its a case of
writing some code.
Some pseudo code to get you started:
connect_to_mysql();
$ms_Access_handler = use_com_ole_or_odbc_to_open_an_access_db();
while( $row = get_row_from_mysql() ){
$ms_Access_handler-insert_row($row);
}
i have an issue with site linking directly to my images.
the problem is these images are generated on the fly with php/gd -- they're
generated each time its viewed because i have done some watermarking
manipulation and didnt want to watermaker them in a static way. they're
including the images
Check the value of um... $_SERVER[HTTP_REFERER] (check my spelling). If
it's not from your own host, then bail out... or return a static image
saying something along the lines of this image stolen without permission
-philip
On Thu, 31 Mar 2005, Sebastian wrote:
i have an issue with site
Hi I'm using the mail() function to send email and I know it's failing
because it's returning a false but how do I tell what problem is? Is
there an error message that I can grab that will show me why the
function is returning false? Any help greatly appreciated. Thanks!
-Ben
--
PHP General
Sebastian wrote:
i have an issue with site linking directly to my images.
the problem is these images are generated on the fly with php/gd -- they're
generated each time its viewed because i have done some watermarking
manipulation and didnt want to watermaker them in a static way. they're
don't forget to open up your phpinfo to see the easter egg for today.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi Chris,
I tried to reproduce the problem with vertsoin 4.3.3 and 5, and its
working fine(producing same string).
If you have not find a bug in bug database why not submit a new bug?
anyway changing single quotes to double may help ;)
zareef ahmed
?php if (CRYPT_MD5 == 1) {
Is someone playing games with me I have a rabbit photo which has taken
over the php logo in my phpinfo(), I also saw a dog in a logo on a
mirror for the php manual :) Its kinda cute, interested how its done.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Is someone playing games with me I have a rabbit photo which has taken
over the php logo in my phpinfo(), I also saw a dog in a logo on a
mirror for the php manual :) Its kinda cute, interested how its done.
yeah, we hacked your server and changed the logo ... just for the fun of it
--
Lars B.
does anyone have or know of an example where:
user chooses values from a couple of drop down boxes
dateabase is queries and gives the values to jpgraph
jpgraph draws the image on the same html page
all the examples I have seen reload the whole page or go to a new page
when jpgraph does its
you may use this function
http://www.alienworkers.com/misc/uploadImage.htm
Regards,
Nadim Attari
Hello, hard people.
I want to do this, I like to upload image file,
What can I do?.
somebody help me.?
best regards TOMAS
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
hey up all,
anyone have a snippet for generating a unique booking reference string,
say 6-10 characters long? The kind of thing you get when you book a
flight or whatnot online.
it's friday afternoon and I'm too dim to figure one out myself :-/
Rob Agar
Web Site Consultant
Wild Lime Media -
On Thu, March 31, 2005 9:26 pm, Graham Anderson said:
does anyone have or know of an example where:
user chooses values from a couple of drop down boxes
dateabase is queries and gives the values to jpgraph
jpgraph draws the image on the same html page
all the examples I have seen reload the
On Thu, March 31, 2005 1:06 pm, Chris Francy said:
I am hoping someone can point me in the right direction to resolving an
odd
bug. I tried searching the bugs database and groups, but I can't think of
the terms to use while searching for my problem that the search system
will
accept.
I
On Thu, March 31, 2005 12:44 pm, Nick Zukin said:
I've got a client who uses Filemaker Pro and I'm trying to parse some of
their data. However, the checkbox data of theirs is giving me fits. From
what I've read, it's supposed to save checkboxes as data separated by
carriage returns.
On Thu, March 31, 2005 11:24 am, Jon Aston said:
I asked this in the windows section yesterday and received no answer.
I have copied the sample of gmp_add() from the function page and have
tried
to run it from the snap that I downloaded this morning with the
recommended
ini that is in the
?php include_once INCLUDES.include.php; ?
In what way does it not work?
Syntax error?
WILD GUESS:
Maybe you just need parens:
?php include_once (INCLUDES . include.php);?
I wouldn't THINK you need that, but maybe somehow the constant makes it
necessary...
--
Like Music?
72 matches
Mail list logo