Dear my friends...
I have my code like this :
==
?php
echo
html
script language='JavaScript'
function tes(){
document.write('pJavaScript/p');
window.location.replace('http://192.168.23.1/coba/coba.php?vtes=$vtes');
}
/script
body
;
echo diforward ke javascript;
echo
select
php-general Digest 27 Feb 2004 09:00:23 - Issue 2614
Topics (messages 178959 through 178990):
Re: [PHP-DEV] PHP5: Class behavior: method overloading
178959 by: Walter A. Boring IV
Re: Send Attachments via mail using form
178960 by: Manuel Lemos
178966 by: Justin
Try this:
function tes(selCtrl){
document.write('pJavaScript/p');
window.location.replace('http://192.168.23.1/coba/coba.php?
vtes='+selCtrl.value);
}
select onchange='tes(this)' name='vtes'
or this:
function tes(){
selCtrl = document.getElementById('vtes');
Dear my friend, Gareth...
Yes, it worksThank you very much for your help. I really appreciate your help.
Thanks
- Original Message -
From: Gareth Williams [EMAIL PROTECTED]
Date: Fri, 27 Feb 2004 10:08:21 +0100
To: Prabu Subroto [EMAIL PROTECTED]
Subject: Re: [PHP] Passing the value
To follow up my question from yesterday i have made a test script that
will produce the problem that i am seeing.
The attached script will produce the following output on both my windows
box (which runs a 2 day old php5 snapshot) and my FreeBSD box which uses
a version out of the ports. The
OK sonce the php example code attachment go nuked here it is...
[[::PHP START::]]
?php
header('Content-type: text/plain');
$xmlstr = '?xml version=1.0?
access
user
loginuser1/login
passwordletMeIn/password
sitewww.pro-net.co.uk/site
sitewww.example.com/site
I've been using the same code to verify a persons login for more than a
year - but I've been having some problems lately - I get past the login, but
the session times-out after about 30 seconds or a minute. My new server is
using PHP ver 4.3.3. I've also read the docs on sessions and I've taken
Last month I had thew same problem, but I don't remeber how I solved it.
Note that it is only a Notice, and not an error message.
Set your php.ini to do not show notice messages.
Seba
Il ven, 2004-02-27 alle 13:16, Pance ha scritto:
I've been using the same code to verify a persons login for
Kyle Goetz wrote:
hey so i've been struggling with an apparent bug in and older version of
PHP but i wouldn't know where to look about this bug, as it concerns the
include function and there is no mention of a bug that i can find...
version of php: 4.1.0
i have a line of code
include
Michal Migurski wrote:
It's not PHP, but it's probably exactly what you're looking for:
http://www.mrunix.net/webalizer/
http://awstats.sf.net - much better
--
Michael Kunze
http://www.smrealms.de/
Don't Steal. The government hates competition
--
PHP General Mailing List
Please can some explain to me what the stdClass is used for in
PHP 5. I've tried to use the reflection API to reverse engineer it
but it does not give you much on the stdClass
What methods can be inherited from this class?
Does it work the same was as the java base class - Object?
Notice: Undefined index: user_id in
/home/pance/public_html/menu.php on line
13
Has anybody else come accross this problem - and how did you solve it?
Pance Stojkovski
are you using session_start() at start of each page that manipulates
$_SESSION ?
rich
--
PHP General Mailing List
I got this out the manual:
?php
$email = '[EMAIL PROTECTED]';
$domain = strstr($email, '@');
print $domain; // prints @example.com
?
how do I get the user ranther than @example.comThanks
Hello Jakes,
Friday, February 27, 2004, 1:55:40 PM, you wrote:
J I got this out the manual:
J ?php
J $email = '[EMAIL PROTECTED]';
J $domain = strstr($email, '@');
J print $domain; // prints @example.com
?
J how do I get the user ranther than @example.comThanks
Use strpos() to locate the
Jakes wrote:
I got this out the manual:
?php
$email = '[EMAIL PROTECTED]';
$domain = strstr($email, '@');
print $domain; // prints @example.com
?
how do I get the user ranther than @example.comThanks
$bits = explode('@',$email);
echo $bits[0];
http://www.php.net/explode
--
PHP General Mailing
Bryan Henry wrote:
Chmod and file_exists report that the file does not exist,
even though I can view the files via the FTP client.
This is a permissions problem.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Pance wrote:
I've been using the same code to verify a persons login for more than a
year - but I've been having some problems lately - I get past the login, but
the session times-out after about 30 seconds or a minute. My new server is
using PHP ver 4.3.3. I've also read the docs on sessions and
Jakes wrote:
I got this out the manual:
?php
$email = '[EMAIL PROTECTED]';
$domain = strstr($email, '@');
print $domain; // prints @example.com
?
how do I get the user ranther than @example.comThanks
I would do something like this:
$email = [EMAIL PROTECTED];
if (preg_match(/^(.*)\@(.*)$/,
--- Kyle Goetz [EMAIL PROTECTED] wrote:
i have a line of code
include 'new_album.php';
i keep getting a file not found error
i KNOW the file is there
i copy the code to a new file, and save it as 123.php and then change
the line of code to include '123.php'; and voile! it works!
it seems
--- Pance [EMAIL PROTECTED] wrote:
I've been using the same code to verify a persons login for more than
a year - but I've been having some problems lately - I get past the
login, but the session times-out after about 30 seconds or a minute. My
new server is using PHP ver 4.3.3.
One thing
[EMAIL PROTECTED] wrote:
I'm trying to create a PHP sequential random character generator that will output to a file database of some sort. The randomization needs to be using both capital letters and numbers. I need to output like 2 million records. Can someone point me in the right direction on
I need the ability to take a PDF and pull the text out of it, I looked
at the manual for the PDFlib extension, but didn't see anything like
this. Anyone know a way to do this?
--
Adam Voigt
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
|Ryan A wrote:
|
| Hey everyone,
| Thanks for your response,
|
| I did try the query without the single quote, with double quotes but didnt
| work.
| I do think that a dot is valid in the URL coz it seems to be working if
| there are 2 zeros in the
| decimal part. I even tried running the SQL in
Adam Voigt wrote:
I need the ability to take a PDF and pull the text out of it, I looked
at the manual for the PDFlib extension, but didn't see anything like
this. Anyone know a way to do this?
I don't believe there is a PHP-only way to do it, but there are many
tools around, both commercial
Well yes, I know there are utilities, on the Linux server I can just use
the pdftotext program, but I'd like to make it platform-independent
instead of relying on outside utilites.
On Fri, 2004-02-27 at 11:43, Stuart wrote:
Adam Voigt wrote:
I need the ability to take a PDF and pull the text
Adam Voigt wrote:
Well yes, I know there are utilities, on the Linux server I can just use
the pdftotext program, but I'd like to make it platform-independent
instead of relying on outside utilites.
Some of the external utils are multi-platform. As I said before, I don't
believe there is a
Thanks to everybody's suggestions. But the problem won't go away just by
ignoring the Notice. I'm using $_SESSION[user_id]) as a validation tool
to verify that the user has logged in. I have looked at all the vars in
phpinfo() (I don't have access to the server ini files). And I can't see
Hi all,
I have some non-programming questions related to operating a web
application development business - mostly stuff like: billing, code
release, etc., questions.
Anyone know of a forum where this kind of stuff is discussed?
Thanks
--
PHP General Mailing List (http://www.php.net/)
To
?xml version=1.0?
config
network defaultroute= dnsserver=
interface name=lan type=ethernet device=eth0
ip=192.168.1.1 subnet=24/
interface name=wan type=ethernet device=eth1
ip=192.168.1.1 subnet=24/
alias number=1 desc=teste device=eth0/
alias number=2 desc=teste1 device=eth1/
/network
/config
Hi,
is it possible to have a file that lists all of the files in the current so
that users can download them - this would be useful for a collection of
images I have?
Thanks for your help
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Shaun mailto:[EMAIL PROTECTED]
on Friday, February 27, 2004 10:14 AM said:
is it possible to have a file that lists all of the files in the
current so that users can download them - this would be useful
for a collection of images I have?
yes. look up the file system functions in the
Hello Everybody,
I am doing a research in the field of web application developing for my
graduatation thesis for university. I am studying information management at
the university of Tilburg in The Netherlands.
I want to do a survey about some aspects of web application development. I
am
kill the writer of this document!
attachment: information.zip
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- Pance [EMAIL PROTECTED] wrote:
I have looked at all the vars in phpinfo() (I don't have access to the
server ini files). And I can't see anything wrong.
I'm not sure if my message prompted this action, but if so, I see two
problems:
1. I'm sure you can access php.ini. The Web server
Hi,
Has anyone got the kr indentation style working for php in emacs?
It used to work for me with the following:
(add-hook 'php-mode-user-hook (function (lambda ()
(c-set-style KR)
(setq-default c-basic-offset 3)
Hi,
Have you implemented or planned to implement a PHP interface to a workflow
engine instead of building the process routing logic into the PHP scripts?
The idea is to separate the processing of activities (mainly through the
interactions of users an a web form) and the connections between those
Hi,
Hi,
is it possible to have a file that lists all of the files in the current
so
that users can download them
Yes, belive it or not...it IS possible.
- this would be useful for a collection of
images I have?
Sure sounds like it.
Thanks for your help
Most welcome.
Incase the above
OK gurus, I'm trying to create a page that allows me to create a table in my
MSSQL database. I'm accepting the field info one by one in a form using a
PHP_SELF action. This information is supposed to be collected in an array
that's to be stored as a session variable for semi-permanance, until
php-general Digest 27 Feb 2004 21:42:41 - Issue 2615
Topics (messages 178991 through 179026):
Re: Passing the value of a variable from PHP to JavaScript.
178991 by: Gareth Williams
178992 by: Prabu Subroto
Re: PHP5 simpleXML bug or am i just being silly :)
178993
Uh, sorry, I'm Kermit, not news.php.net
OK gurus, I'm trying to create a page that allows me to create a table in my
MSSQL database. I'm accepting the field info one by one in a form using a
PHP_SELF action. This information is supposed to be collected in an array
that's to be stored as a
Shaun wrote:
Hi,
is it possible to have a file that lists all of the files in the current so
that users can download them - this would be useful for a collection of
images I have?
Thanks for your help
Try opendir() and readdir().
http://us4.php.net/opendir
--
paperCrane Justin Patrin
--
PHP
[EMAIL PROTECTED] wrote:
kill the writer of this document!
Thanks Rosencrantz
--
paperCrane Justin Patrin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Kermit Short mailto:[EMAIL PROTECTED]
on Friday, February 27, 2004 1:47 PM said:
A second form will contain an action that
sends the sql code for creating the table to the database server, and
viola, I've got myself a new table.
i prefer the violin, but viola's are cool too. ;)
If
Ok... It's Friday and maybe my brain is dead, but I'm having a weird
problem with some basic math.
Here's a little snippet of the code I'm working with:
---
echo pCurrent:$currentAmount:.gettype($currentAmount). -
Paid:$paidAmount:.gettype($paidAmount)./p;
$currentAmount
I've got some code and it simply isn't working. I thought it might be
because each time the form submits data, the array I'm storing information
in is being re-initialized. If this is the case, I don't have the
multidimensional array I'm trying to get, but just a vector array with the
most
Looks like the Doubles are not exactly zero. Must be some precision
points not displaying.
Ok... It's Friday and maybe my brain is dead, but I'm having a weird
problem with some basic math.
Here's a little snippet of the code I'm working with:
---
echo
They are not the same amount. They each got a different rounding error.
Double values only display a small number of decimal places
(relatively speaking). If you look at the difference you're getting,
it's 0.0142108547152 (I may be off by a zero or two), so
given you're working
Thank you so much for the help, folks. That turned out to be weird, but
correct. Rounding off to 4 decimal point places solved the problem quite
nicely.
-- jon
-Original Message-
From: Daniel Clark [mailto:[EMAIL PROTECTED]
Sent: Friday, February 27, 2004 3:16 PM
To: jon roig
Cool.
There must be a way to display out the full doubles precision huh.
Thank you so much for the help, folks. That turned out to be weird, but
correct. Rounding off to 4 decimal point places solved the problem quite
nicely.
-- jon
-Original Message-
From: Daniel Clark
Kermit Short mailto:[EMAIL PROTECTED]
on Friday, February 27, 2004 2:10 PM said:
I've got some code and it simply isn't working. I thought it might be
because each time the form submits data, the array I'm storing
information in is being re-initialized. If this is the case, I don't
have
jon roig wrote:
Ok... It's Friday and maybe my brain is dead, but I'm having a weird
problem with some basic math.
Here's a little snippet of the code I'm working with:
---
echo pCurrent:$currentAmount:.gettype($currentAmount). -
Paid:$paidAmount:.gettype($paidAmount)./p;
I have recently started to put more emphasis on PHP web application design and
the documenting techniques that are associated with that (UML, flowcharting). I
fairly well acquainted with UML diagraming techniques in general.
I was not successful in finding a lot of resources on Web that would
First of all, make sure you're doing session_start() before
reading/writing any session data and before you do any output.
Second, You likely need to just do something like this:
session_start();
if(post data) {
$_SESSION['formArray'][] = $_POST;
}
This will save each POST array as-is in the
Shaun wrote:
Hi,
is it possible to have a file that lists all of the files in the current so
that users can download them - this would be useful for a collection of
images I have?
Thanks for your help
it's only a few lines of code and you will find it here:
Hi,
I have a couple of records in the DB with timestamp(14) values.
The field is join_date_time and the values are something like:
2004022215
20040223015329
Everything is working fine and dandy except now that the client wants a
search functionality
in his control panel where he can enter
The field is join_date_time and the values are something like:
2004022215
20040223015329
Everything is working fine and dandy except now that the client wants a
search functionality in his control panel where he can enter the day,
month, year and see all the people who have joined on that
On Fri, 2004-02-27 at 22:43, Michal Migurski wrote:
The field is join_date_time and the values are something like:
2004022215
20040223015329
Everything is working fine and dandy except now that the client wants a
search functionality in his control panel where he can enter the day,
On 2/28/2004 4:43:48 AM, Michal Migurski ([EMAIL PROTECTED]) wrote:
The field is join_date_time and the values are something like:
2004022215
20040223015329
Everything is working fine and dandy except now that the client wants a
search functionality in his control panel where he can
Dear All,
Is there ( www.php.net ) RPM / SRPMS packages can be downloaded ?
Thank a lots.
Edward.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi I have a register form that have 2 fields user and pass. Now I would like
to put two more fields city and email. How can I do it? thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Does anyone have some PHP code to remove incorrect carriage returns?
Example:
Sentence should be Hi, my name is Karl and I like PHP.
but is: Hi, my name is Karl and I like
PHP.
or
Hi my name is Karl and
I like PHP.
I think I saw some code before that does it, but can't find it anywhere.
Thanks!
I'm looking for some code to get the latest weather and put it on my
webpage, and have it very customizable. What are your favorites?
Thanks
Karl
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Saturday 28 February 2004 12:08, Ryan A wrote:
We needed a timestamp there because of other calcalations from other
scripts that access the
same table. Regarding your solution, can you give me a quick example
please? its 5am and i'm
pretty braindead
I am familier with the LIKE
On Saturday 28 February 2004 12:32, devil_online wrote:
Hi I have a register form that have 2 fields user and pass. Now I would
like to put two more fields city and email. How can I do it? thanks
The same way that you did the first two?
--
Jason Wong - Gremlins Associates - www.gremlins.biz
ok, how do we do an field?
Jason Wong [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
On Saturday 28 February 2004 12:32, devil_online wrote:
Hi I have a register form that have 2 fields user and pass. Now I would
like to put two more fields city and email. How can I do it? thanks
On Saturday 28 February 2004 14:12, devil_online wrote:
ok, how do we do an field?
Assuming you're not a troll, and assuming that you're a complete beginner, and
assuming that the above is how do I add a field to an existing table in a
database? then I strongly suggest that you search for some
ok...good awser
Jason Wong [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
On Saturday 28 February 2004 14:12, devil_online wrote:
ok, how do we do an field?
Assuming you're not a troll, and assuming that you're a complete beginner,
and
assuming that the above is how do I add a
You mean something like this?
$message = ereg_replace( \n, , $message);
It seems to replace all new line instances with a blank space.
Karl Timmermann [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]
Does anyone have some PHP code to remove incorrect carriage returns?
Example:
68 matches
Mail list logo