you can do whatever you want w/ a custom session handler, just so long as
you implement all the methods.
you could for instance have the session handler do network i/o to a 'session
box' or something.
thats my initial guess at a solution.
-nathan
On 8/15/07, Vic Agnews <[EMAIL PROTECTED]> wrote:
is there a way we can maintain session information across two sub-domains
(on two different servers though) ... kinda like how google does it?
- vic
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
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 = $whatev
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):
Back
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
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 stru
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
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.> > Tha
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
Can't you just embed the file in the page?
http://www.apple.com/qtactivex/qtplugin.cab"; height="256"
width="320"> ">
"
pluginspage="http://www.apple.com/quicktime/download/"; type="video/quicktime"
controller="true"
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
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 Return to search
results.everything works fine.
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 individu
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 som
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
"
http
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 of
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 Maili
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 = '
Something like this might work:
(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 session variables,
and have your page
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
"
http://www.php.net/manual/en/
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 m
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'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
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 kn
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 = 'ice-fishing.mov
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 = filesize($file_sou
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 fi
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
char
> 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: http://w
[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,
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
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,"","")
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
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_sour
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,"","");
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 stor
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 on
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 becau
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
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:
> 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
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
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 h
$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/
http://webdirectory.sa
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/
http://webdirectory
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 fo
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$
[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 sh
50 matches
Mail list logo