Hi everyone,
I have designed a chat program which used a refresh function to update
the chat list every 10 second. But How can I perdict the flicker screen, or
Can anyone tell me how to re-write the program so everytime people send
message to the chat box, the chat box will not flicker at
What I do is have an invisible frame that checks the timestamp of the last
update to the chat against your last refresh timstamp.
If it's superior, I refresh the chat list.
I actually make this check without a call to the database, if you have 100+
chatters, check calls to the db can become
At 9:25 AM + 11/8/01, Russ Michell wrote:
1: Rid any whitespace between '?php' and 'session_start()'
2: You need to populate the variable you wish to use as a session
variable before registering it
Is 2 actually true? The sessions chapter in the PHP manual doesn't seem
to specify any order
Hello,
I need to build a chunk of code which creates a click through view of all
pictures in a given directory. The URL for each image is stored in a MySQL
table as part of the image upload routine. I am thinking there would be PHP
routine that says something like ...
1. (PHP) - For every
Hello!!
So you have a page that show pics and you want to have something that
show the next and back url...right???
Dan
On Thursday, November 8, 2001, at 04:23 PM, Doug Daulton wrote:
Hello,
I need to build a chunk of code which creates a click through view of
all
pictures in a given
These are pretty basic questions, but I would appreciate help:
I need to access Oracle (already running on a separate server) via PHP4 from
a FreeBSD Server.
1) Can this be done?
(if so...)
2) Where do I find instructions?
3) Where do I get php_oci8
4) Do I HAVE to install code from Oracle (the
1: Rid any whitespace between '?php' and 'session_start()'
That makes no difference as long as you are not producing any output.
You can have spaces and code withing the php brackets, just not echo anything.
But don't have any spaces prior to ?php since it will be echoing a character.
The
?php
//.../... first part of the code is to connect to the right DB on a MySQL
server. It works fine
//This code to show the query. It runs well under MySQL and gives 1 result :
$query=SELECT Login, Password FROM `user` WHERE user.login=''$login'' and
user.password=''$password'';
//This var
At 2:04 AM +0100 11/9/01, MPropre wrote:
?php
//.../... first part of the code is to connect to the right DB on a MySQL
server. It works fine
//This code to show the query. It runs well under MySQL and gives 1 result :
$query=SELECT Login, Password FROM `user` WHERE user.login=''$login'' and
okay, you consultants...
i'm gonna venture at work to do some side jobs here for some online
dynamic web pages. but what would be a good starting pay rate?
or would you contract for the entire job? what about a per PAGE/SCRIPT
basis?
thanks...
--
Leo G. Divinagracia III
[EMAIL PROTECTED]
?php
//.../... first part of the code is to connect to the right DB on a MySQL
server. It works fine
//This code to show the query. It runs well under MySQL and gives 1 result :
$query=SELECT Login, Password FROM `user` WHERE user.login=''$login'' and
user.password=''$password'';
//This
Dear Russ,
Thank a lot. Your tips do help me.
This is the answers I get through my research:
$oldumask = umask(0);
if(mkdir(path, 0777))
{echo New directory created!!;}
else
{echo Couldn't create directory;}
umask($oldumask);
Thank a lot.
regards,
Wenni
--
PHP Database Mailing
I'd check for mysql_num_rows( $result_query) 0 as well.
It's entirely possible the user mis-typed the login or password values.
Miles
At 07:26 PM 11/8/01 -0600, Paul DuBois wrote:
At 2:04 AM +0100 11/9/01, MPropre wrote:
?php
//.../... first part of the code is to connect to the right DB on a
I have an array coming from a form that I need to insert into mySQL.
example: name[], phone[], address[]
Please help?
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list
We are creating a content management system for a web site. In this app,I am
filling the contents of an html text area with the contents of a field in an
oracle database. This is our dynamic content for the site.The text area
allows the user to update its contents. For the time being, any
Ok, I am still fairly new at PHP and MySQL also, so please bear with me.
TASK: I have a client that wants to have job openings listed on their site
and they want to be able to add, edit and delete the postings themselves. I
would do this in flat-file format but there is the risk of that file
use nl2br!
http://www.php.net/manual/en/function.nl2br.php
Sjoerd van Oosten
Digitaal vormgever [EMAIL PROTECTED]
Datamex E-sites B.V.
http://www.esites.nl
Minervum 7368 Telefoon: (076) 5 730 730
4817 ZH BREDA Telefax: (076) 5 877 757
Yes there is:
Using a php function called: nl2br()
When the data is called from the db and printed to the page use $textdata =
nl2br($textdata)
This will preserve the enter button being pressed.
Regards:
Russ
On Thu, 08 Nov 2001 09:54:16 -0600 Jay Fitzgerald [EMAIL PROTECTED] wrote:
Ok, I
I wrote this cleanup function:
function cleanup($copy)
{
$copy=trim($copy);
$copy=htmlspecialchars($copy, ENT_QUOTES);
$copy=eregi_replace (%, #37;, $copy);
$copy=eregi_replace (, lt;, $copy);
$copy=eregi_replace (, gt;, $copy);
$copy=eregi_replace
Hi Kodrik:
I just looked at your function and would like to use it myself, but shouldn't
the ampersand line:
$copy=eregi_replace (amp;, , $copy);
look like this instead? So it matches the other lines that have a symbol
replaced by HTML??
$copy=eregi_replace (, amp;, $copy);
Cheers.
Russ
No,
Ok.I have it working half-way now.here is what I have so far:
===
PHP FORM (add_jobs.php - submits to the script below):
FORM METHOD=post ACTION=do_addjobs.php
TEXTAREA NAME=duties COLS=30 ROWS=10 WRAP=virtual/TEXTAREA
INPUT TYPE=submit VALUE=Add Job
/FORM
Jay Fitzgerald wrote:
displays fine now -- thanks for that help so far -- but the problem now
(this may be normal, but I am not sure) is when I connect to the db and
select * from jobs; the db is writing the entries like this:
===
mysql select * from jobs;
22 matches
Mail list logo