connect 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
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
.
Thanks.
Pag
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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
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:
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
rioc = str_replace("\r\n", "\n", $comentarioc);
$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
to you or post it here. :-)
Pag
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
rioc = str_replace("\r\n", "\n", $comentarioc);
$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 24
to check if the user 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
ills the fields automatically.
How can i have several users "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 Lis
g i do only gets one 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
ome sort of macro because 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
("\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", "", $texto);
Some help, please?
Pag
--
P
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
I placed 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
l trying to
figure that one out. Would be nice to make the browser 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
r now, thanks john)
Pag
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
the
list. :-)
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
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
might take a little 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
= ''
}
--
routine 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?
ode some sort 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
display like the 10 most 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
gh i dont have a clue on how to retrieve
the result after the fetch_array. :-P
/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 "peter"s there are in there?
Is there a specific SQL select or something, or i have to make a loop just
to count them?
Thanks.
eciate all the help.
Pag
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
.
Pag
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
e, html. I dont
understand the error.
Pag
> >
> > > $linha=file('downs.txt');
> > $t=count($linha);
> > $l = $t - 1;
> > $fim = $l - 3;
> >
> > if ($l > 3)
> > {
> > $fim=$l - 3;
> > }
es 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 General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php
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
e get a page 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
ps the original PHP code 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
e vars hoping it
would fix it. One 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
--
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/)
To
36 matches
Mail list logo