php-general Digest 15 Aug 2007 17:48:49 - Issue 4963
Topics (messages 260832 through 260863):
Re: About UTF-8 / ANSI
260832 by: Anders Norrbring
problem with require_once
260833 by: Vanessa Vega
260835 by: Tijnema
260836 by: Chris
260840 by: Sanjeev
Good day to all...
I would like to ask for some help..
I have a form created in javascript codes. The page is a pop up window.
I am passing the values of the form using the method post. The PHP file
that handles the form displays the values from that and had the following
code in the
On Thu 09 Aug 07 20:11, Simon wrote:
The dumbest (but still correct) way to do it is a for() loop that
creates a hidden input with the name/value pair for each variables
you want.
Might not be as dumb as one thinks: hidden vars are useful when some
misconfigured proxy or round-robin proxy or
On 8/15/07, Vanessa Vega [EMAIL PROTECTED] wrote:
Good day to all...
I would like to ask for some help..
I have a form created in javascript codes. The page is a pop up window.
I am passing the values of the form using the method post. The PHP file
that handles the form displays the values
Vanessa Vega wrote:
Good day to all...
I would like to ask for some help..
I have a form created in javascript codes. The page is a pop up window.
I am passing the values of the form using the method post. The PHP file
that handles the form displays the values from that and had the following
Hi, is there a function that can parse variables within a string?
For example:
$good_day = 'The';
$fr['iop'] = y're crazy!;
$new = '$good_day$fr['iop']';
echo TheFunctionIRequest($new); // They're crazy!
Thanks!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
[EMAIL PROTECTED] wrote:
Hi, is there a function that can parse variables within a string?
For example:
$good_day = 'The';
$fr['iop'] = y're crazy!;
$new = '$good_day$fr['iop']';
echo TheFunctionIRequest($new); // They're crazy!
Well this:
echo $good_day . $fr['iop'];
will do what you
I need to get the variable names from a database.
On 8/15/07, Chris [EMAIL PROTECTED] wrote:
[EMAIL PROTECTED] wrote:
Hi, is there a function that can parse variables within a string?
For example:
$good_day = 'The';
$fr['iop'] = y're crazy!;
$new = '$good_day$fr['iop']';
echo
Hi,
The problem is simple...
Either the file myclass.php path is wrong (may be your calling file is in
some folder and myclass.php is in another folder) or if path is correct and
file may have some syntax errors or some function may not exist..
Please check the path if wrong and check the file
Hi Gevorg,
Great work.. But few things.
Scroller is not working even at bottom content is there...
I tried in both mozila and IE... In IE when I selected text and moved down
then it scrolled down. But where in Mozila no use...
Warm Regards,
Sanjeev
http://www.sanchanworld.com/
$new = '$good_day$fr['iop']';
This will give you error...
Instead if you try in this way as follows
$new = $good_day$fr['iop']; or
$new = $good_day.$fr['iop'];
It will include the They're carzy! in the $new variable..
Warm Regards,
Sanjeev
http://www.sanchanworld.com/
Consider the variable name inside database is 'emp_name' and now you want to
use this as $emp_name..
This variable will be stored in as follows
$variable1 = $resultfromdatabase['variable1'];
Then next step is store anything in this variable as follows
$$variable1 = John;
I hope this may not
Jay Blanchard wrote:
If there was a best practices book would you buy it?
I write books on PHP aimed at the beginner/intermediate level, and have
a considerable collection of PHP books written by others. Two relatively
recent books that struck me as being important are Pro PHP Security by
We all have our favorite PHP books and resources but there is one tome
that seems to be missing from the group...a best practices book. We
PHP, being server-side, is not difficult. I think the client-side stuff
deserves some books (DOM, Javascript, CSS, XHTML, XML, ) if you want
to save
Ah, fine. How do i use this ZIPARCHIVE::CHECKCONS flag?
Something like that should work, i think?
$zip = new ZipArchive;
$res = $zip-open ( $filename ZIPARCHIVE::CHECKCONS );
if (TRUE === $res) {
# all looks fine
}
elseif {
switch($res){
case ZIPARCHIVE::ER_INCONS:
Gregory Machin wrote:
Hi
i have a piece of code that gets info from a comma delimited file,
then gets each value that is to be insterted into the database
The variabls must only contain numbers and must not be null ..
but the logic i have is iether not working or there are some
Hi
i have a piece of code that gets info from a comma delimited file,
then gets each value that is to be insterted into the database
The variabls must only contain numbers and must not be null ..
but the logic i have is iether not working or there are some hidden
characters creeping in
This will be of help.
http://us2.php.net/manual/en/function.is-numeric.php
On 8/15/07, Gregory Machin [EMAIL PROTECTED] wrote:
Hi
i have a piece of code that gets info from a comma delimited file,
then gets each value that is to be insterted into the database
The variabls must only
Thank you so much! :D
On 8/15/07, Sanjeev N [EMAIL PROTECTED] wrote:
Consider the variable name inside database is 'emp_name' and now you want to
use this as $emp_name..
This variable will be stored in as follows
$variable1 = $resultfromdatabase['variable1'];
Then next step is store
Hi gang:
Given:
http://www.webbytedd.com/bb/ice/
How can I play the movie inside the page instead of going to another page?
I know that I could use phpclasses, but that seems an overkill.
I think something like this --
$file_source = 'ice-fishing.mov';
$size = filesize($file_source,,);
On 8/15/07, tedd [EMAIL PROTECTED] wrote:
Hi gang:
Given:
http://www.webbytedd.com/bb/ice/
How can I play the movie inside the page instead of going to another page?
I know that I could use phpclasses, but that seems an overkill.
I think something like this --
$file_source =
Dear my friends,
This is the first time for me to use OOP concept of PHP. I wrote still a very
simple codes but it doesn't work as my manual book taught. the book titled
MySQL/PHP Database Application by Jay Greenspan say these lines should work
but in fact it don't work as expected.
Here is
tedd wrote:
Given:
http://www.webbytedd.com/bb/ice/
How can I play the movie inside the page instead of going to another page?
I know that I could use phpclasses, but that seems an overkill.
I think something like this --
$file_source = 'ice-fishing.mov';
$size = filesize($file_source,,);
what sort of error are you encountering ?
-nathan
On 8/15/07, Patrik Hasibuan [EMAIL PROTECTED] wrote:
Dear my friends,
This is the first time for me to use OOP concept of PHP. I wrote still a
very simple codes but it doesn't work as my manual book taught. the book
titled MySQL/PHP
[EMAIL PROTECTED] wrote:
Hi, is there a function that can parse variables within a string?
For example:
$good_day = 'The';
$fr['iop'] = y're crazy!;
$new = '$good_day$fr['iop']';
echo TheFunctionIRequest($new); // They're crazy!
Thanks!
One thing to add to what everybody else is saying,
Theoritically if Class koneksi is being initialized than it
prints koneksi berhasil (connection succeeded) but it doesn't.
What does it? Just nothing? No warnings at all? Possibly disabled?
so far
rob
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Gregory Machin wrote:
Hi
i have a piece of code that gets info from a comma delimited file,
then gets each value that is to be insterted into the database
The variabls must only contain numbers and must not be null ..
but the logic i have is iether not working or there are some hidden
A few missing pieces in your code. Take a look below within your class. I
corrected it.
try also using include_once instead of require
and make sure that your error level and reporting are turned on so you can see
what is happening.
Patrik Hasibuan wrote:
Dear my friends,
This is the
tedd wrote:
Hi gang:
Given:
http://www.webbytedd.com/bb/ice/
How can I play the movie inside the page instead of going to another page?
I know that I could use phpclasses, but that seems an overkill.
I think something like this --
$file_source = 'ice-fishing.mov';
$size =
At 4:32 PM +0100 8/15/07, Stut wrote:
tedd wrote:
Given:
http://www.webbytedd.com/bb/ice/
How can I play the movie inside the page instead of going to another page?
I know that I could use phpclasses, but that seems an overkill.
I think something like this --
$file_source =
My users are having problems downloading .doc or .xls files linked to from PHP
pages; when they click on the link, IE returns an error stating that the file
cannot be found. Firefox, however, seems to be able to find the file and
open it just fine.
From what I can tell, this is related to a
I'm not sure if this would be of help or not, but have you tried
setting 'Content-disposition: inline' in the header?
On 8/15/07, tedd [EMAIL PROTECTED] wrote:
At 4:32 PM +0100 8/15/07, Stut wrote:
tedd wrote:
Given:
http://www.webbytedd.com/bb/ice/
How can I play the movie inside the
What do you guys use for casual XML editing, besides plain text editors?
Ones that'll error check and allow fixing files with errors?
Thanks...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I am trying to imporve a web application that my group uses.
Basically there are 3 forms that work together Form 1 form 2
Form 1 - searchs for enterend values
Form 2 - returns search results, letting you individually select any item
Form 3 - lets you edit a specific individual item
I want to
Dear Jim,
You've solved my problem, Jim. Thank you very much.
Now, my code give the output as my expectation:
superclass koneksi dipanggil
koneksi berhasil
negara-
.
But come another problem, namely: the $negara is empty. I tried to read the
documentation on
Something like this might work:
a href=javascript:history.go(-1)
(To go back 1 page)
Of course if this is a form post, it would repost the data resulting in
that annoying pop-up on most browsers indicating the page is being
re-posted.
Maybe you could write out the post variables to the
tedd wrote:
At 4:32 PM +0100 8/15/07, Stut wrote:
tedd wrote:
Given:
http://www.webbytedd.com/bb/ice/
How can I play the movie inside the page instead of going to another
page?
I know that I could use phpclasses, but that seems an overkill.
I think something like this --
$file_source =
Al wrote:
What do you guys use for casual XML editing, besides plain text editors?
Ones that'll error check and allow fixing files with errors?
Thanks...
I tend to use Visual Studio for this sort of thing since I usually have
it open anyway.
-Stut
--
http://stut.net/
--
PHP General
At 8:54 PM +0100 8/15/07, Stut wrote:
tedd wrote:
At 4:32 PM +0100 8/15/07, Stut wrote:
tedd wrote:
Given:
http://www.webbytedd.com/bb/ice/
How can I play the movie inside the page instead of going to another page?
I know that I could use phpclasses, but that seems an overkill.
I think
I assume this comment was aimed at the list and not just me.
Kelvin Park wrote:
Stut wrote:
Al wrote:
What do you guys use for casual XML editing, besides plain text editors?
Ones that'll error check and allow fixing files with errors?
Thanks...
I tend to use Visual Studio for this sort
Patrik Hasibuan wrote:
Dear Jim,
You've solved my problem, Jim. Thank you very much.
Now, my code give the output as my expectation:
superclass koneksi dipanggil
koneksi berhasil
negara-
.
But come another problem, namely: the $negara is empty. I tried to read the documentation on
Hi,
Thank you very much for all emails.
I was trying to make it work in Opera, IE and FF and forgot such a simple
thing as screen resolutions.
I just fixed all.
Thanks once more,
Gevorg
Dear Jim,
thanks for your help. I've modified my codes as you adviced.
But than the output is:
superclass koneksi dipanggil
koneksi berhasil
No results found
The column 'country' of table 'countries' already really contents complete all
contry name from all over the earth. How come the query
Derek Moon wrote:
I am trying to imporve a web application that my group uses.
Basically there are 3 forms that work together Form 1 form 2
Form 1 - searchs for enterend values
Form 2 - returns search results, letting you individually select any item
Form 3 - lets you edit a specific
Jim and Brad.
Thanks for the feedback. I was thinking it was something simple like a back
button. But the problem that arises when I use this method is on Form 3.
If I go through the steps, and make a change to an item on Form 3. Then use
the a href=javascript:history.go(-2);Return to search
Can't you just embed embed the file in the page?
object classid=clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B
codebase=http://www.apple.com/qtactivex/qtplugin.cab; height=256
width=320 param name=src value=?php echo
./vids/$file ? param
Patrik Hasibuan wrote:
Dear Jim,
thanks for your help. I've modified my codes as you adviced.
But than the output is:
superclass koneksi dipanggil
koneksi berhasil
No results found
The column 'country' of table 'countries' already really contents complete all contry name from all over the
On Aug 15, 2007, at 4:28 AM, David Powers wrote:
Jay Blanchard wrote:
If there was a best practices book would you buy it?
I write books on PHP aimed at the beginner/intermediate level, and
have a considerable collection of PHP books written by others. Two
relatively recent books that
what about hadding the search form elements to the results page and letting the
users search right from there
bastien To: php-general@lists.php.net From: [EMAIL PROTECTED] Date: Wed, 15
Aug 2007 15:44:46 -0500 Subject: Re: [PHP] adding Back to Search results
link Jim and Brad. Thanks for
Jim Lucas wrote:
Patrik Hasibuan wrote:
Dear Jim,
thanks for your help. I've modified my codes as you adviced.
But than the output is:
superclass koneksi dipanggil
koneksi berhasil
No results found
The column 'country' of table 'countries' already really contents
complete all contry name
Derek:
Does form 1 use POST or GET to call form 2? If it uses GET, you
could store the search page URL in a $_SESSION variable - something
like this in your search results (form 2):
$_SESSION['search_results_querystring'] = $_SERVER['QUERY_STRING'];
and in your editing page (form 3):
a
Dear my friend, Jim Lucas.
Thank you very much for your help. You've solved my problem one more time.
I really appreciate your help.
===
On Wed, 15 Aug 2007 14:17:02 -0700
Jim Lucas [EMAIL PROTECTED] wrote:
Jim Lucas wrote:
Patrik Hasibuan wrote:
Dear Jim,
thanks for your help. I've
Chris wrote:
Kelvin Park wrote:
mySQL database becomes inaccessible after a buggy sql string gets
queried.
The SQL server runs fine, however it seems like just the database is
being
looped infinitely so to say.
Here is an example:
(PHP)
$sql = SELECT * FROM DB_TABLE WHERE PR_NUMBER =
Kelvin Park wrote:
Chris wrote:
Kelvin Park wrote:
mySQL database becomes inaccessible after a buggy sql string gets
queried.
The SQL server runs fine, however it seems like just the database is
being
looped infinitely so to say.
Here is an example:
(PHP)
$sql = SELECT * FROM DB_TABLE WHERE
54 matches
Mail list logo