want to have some PHP code that
actually gets executed.
Thanks.
Pag
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
to
the database, i use localhost. How can i find out the real server to
connect to from the other site? I tried using the whole domain, like
www.crappyserver.com, but doesnt work. :-P
Thanks.
Pag
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
.
Thanks.
Pag
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
, the http_referral obviously thinks its
coming from inside the site. :-P
How can i solve this? Is there any way to prevent data adding from
outside? Maybe some invisible check on the form or something?
Thanks.
Pag
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
a long word, the infamous horizontal scroll bar would
appear. How can i check for long words on a string and remove them before
they get written on the DB?
Thanks.
Pag
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
of parser would collect the new info from it. The
problem with that approach would be if the supplier changes a cel on some
product name, then everything would be ruined.
How is it usually done?
Big thanks, i am completely blind in this.
Pag
--
PHP General Mailing List (http://www.php.net
);
$comentarioc = str_replace(\r, \n, $comentarioc);
Is there a way to solve this? So it can accept both and ', and be able
to alter/print it with no problem?
Thanks.
Pag
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
it to you or post it here. :-)
Pag
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
);
$comentarioc = str_replace(\r, \n, $comentarioc);
Is there a way to solve this? So it can accept both and ', and be able
to alter/print it with no problem?
Thanks.
Pag
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi, I am having a serious problem on my site. It was working fine until a
day ago, when it simply freezes. After i made a few checks i realized it
loops on this code. I tried everything but i cant understand why and i am
going crazy trying to figure it out!
This code is supposed to write a
is doing a
refresh or coming from somewhere else. If its a refresh, the counter would
simply not increase. That would be sufficient to keep the
i-want-my-news-to-have-the-higher-number-of-visitors author, from having
his way.
Thanks.
Pag
--
PHP General Mailing List (http://www.php.net
logged on and then have like a box on the
site displaying who and how many users are logged in?
Sorry for the messed up explanation, but i really dont know what do do
about it. Thanks.
Pag
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
digit when the
minutes are between 00 and 10.
I know its going to be stupid but anyway, could use your help, i cant see
anything straight in this code anymore. :-P
Sorry and thanks.
Pag
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
(\r\n, \n, $texto);
$texto = str_replace(\r, \n, $texto);
And when i want to retrieve the text from the database to display it on
the site, i do:
$texto = str_replace(\n, br, $texto);
Some help, please?
Pag
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
it seems i
will be using it a lot. :-)
Pag
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
. :-)
Thanks for all the help, guys, you got me in the right direction.
Pag
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
, thanks john)
Pag
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
history forget
that redirect. :-P
But you are right, Jason, time wise i was wrong in going for the
popup, not to mention those other very relevant facts john mentioned too.
Pag
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
this header right after all the database writes.
Pag
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Got it to work. I removed everything except the PHP script. Works like a
charm, no problem on the browser back button.
Great help from you guys. Thanks a lot!
Pag
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
to display the article and the existing comments here
--
form here
if user clicks send, puts $flag=1 and calls same page
--
How can i prevent these double entries? Some command to definitely clear
the variables?
Thanks.
Pag
--
PHP General Mailing List (http
while, since the original is a bit heavy on
the download side. ;-)
Pag
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
a little more
transparent to the user, i thought of using a popup window instead, you
know, a tiny window pops up, with the code to insert the comment on the
database, and closes right after it does so.
but err..how can i close it right after the database insert?
Pag
--
PHP General
of backend in the ways of greymatter, that people
can change the looks of the news entries by themselves.
Thanks.
Pag
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
recent
entries of type = 2, for example?
I am lost, could really use some help. Thanks!
Pag
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
command query that can count how many
records exist with a given field content?
Example:
Count on a database how many peters there are in there?
Is there a specific SQL select or something, or i have to make a loop just
to count them?
Thanks.
/Pag
/Pag
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
the help.
Pag
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
.
Pag
?
$linha=file('downs.txt');
$t=count($linha);
$l = $t - 1;
$fim = $l - 3;
if ($l 3)
{
$fim=$l - 3;
}
else {
$fim = 0;
}
for ($i = $l; $i = $fim ; $i--) {
$array=explode(|,$linha[$i]);
print(div align=\left
.
Pag
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
is so small and simple, is there something
wrong in it? But if it is, why does the error only appears randomly?
I get this error on a different script on my site, also of the
same type, reading a few lines from a txt file and displaying them.
Thanks.
Pag
--
PHP
randomly?
I get this error on a different script on my site, also of the
same type, reading a few lines from a txt file and displaying them.
Thanks.
Pag
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
thing i noticed is that the error is less frequent on IE6
at home than it is at work. At home i acess the net by adsl and at the
office we use isdn but by router/lan. Something to do with that? Dont know
the reason for such errors.
Pag
--
PHP General Mailing List (http://www.php.net
for
the next user, going over it again, dynamically.
Sorry if i cant explain this very well.
Pag
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
on the cache instead of getting it fresh from the server.
Pag
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
and
PHP and get everything working normally when i preview the code in internet
explorer, that would be perfect, is it possible? How do you guys and girls
work with php, what editors and/or tools you use?
Thanks.
Pag
--
PHP General Mailing List (http://www.php.net
36 matches
Mail list logo