Julio Nobrega em Friday 27 September 2002 15:40 foi agraciado com uma
resposta por:
> I don't fully understand OOP, so my snippet might be wrong. But I need to
> emulate Multiple Inheritance for a script, so I've made the following,
> which I ask for opinions since I am not
{
$a = parent::callClass('A');
$a->insideA();
$b = parent::callClass('B');
$b->insideB();
}
}
$c = new C();
$c->insideC();
--
And it echo:
I'm inside A!
I'm inside B!
--
Julio Nobrega
http://gnet.inerciasensorial.c
ot work as predicted,
having erratic values too.
So I am open to any suggestions, since I've lost my afternoon on this
problem.
Any advice is appreciated, and sorry for my english (I am from Brazil).
Many thanks,
--
Julio Nobrega
http://www.inerciasensorial.com.br
[1] = Sorry if t
> I just had a massive open house party...
>
> Is it possible to write a PHP script to collect all the bottles and
> cans, mop the floor, fumigate the carpet and make me lunch?
PHP is all. You need.
--
Julio Nobrega
Pode acessar:
http://www.inerciasensorial.com.br
"Liam M
http://www.zend.com/zend/tut/drop-down.php
--
Julio Nobrega
Me empurraram pra chegar lá mais rápido!
http://www.inerciasensorial.com.br
"Christian Ista" <[EMAIL PROTECTED]> wrote in message
000201c2451b$94fe4300$c000a8c0@p3portable">news:000201c2451b$94fe4300$c000a8
, now I am 100% it's a php configuration issue because HTML pages
are served normally. The problem is when I use require() (and similar)
functions. It can't find the files. I've edited php.ini and used .htaccess
to specify the include_path() but no luck yet...
Still research
I have in mind
since the beggining: How can I server webpages from a networked Linux
through the Windows 2000 that is connected to the Internet?
Any help is sincerely appreciated.
Thanks,
--
Julio Nobrega
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I have in mind
since the beggining: How can I server webpages from a networked Linux
through the Windows 2000 that is connected to the Internet?
Any help is sincerely appreciated.
Thanks,
--
Julio Nobrega
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> What about all the users of his web site that are requesting his php
scrpts
> that are compiling through my server?
Contact him and ask to stop. If he doesn't, block. It will be him that
will lose customers, not you.
--
Julio Nobrega
Pode acessar:
http://www.inerciasensorial.co
ng the last one.
--
Julio Nobrega
Pode acessar:
http://www.inerciasensorial.com.br
"Andrew Conner" <[EMAIL PROTECTED]> escreveu na mensagem
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hello,
> I have a script (at bottom) that, upon loading, will randomly select a
&g
Yes, it's possible. You concatenate the form variables with the html,
transform it to a file and attach to the email.
--
Julio Nobrega
Pode acessar:
http://www.inerciasensorial.com.br
"M.E. Suliman" <[EMAIL PROTECTED]> escreveu na mensagem
000701c24097$044a1b00$
Well, it's a GET parameter, not a server file. Probably the file
"source.php" has a command to include the file "/index.php".
if (isset($_GET['url'])) {
// Security check, prepend filesystem or webserver root and
include($url);
}
and toolbars using the gd module. The
problem is getting to know if (and how much) you need to scroll down to see
the rest of the content...
--
Julio Nobrega
Pode acessar:
http://www.inerciasensorial.com.br
"Jason Wong" <[EMAIL PROTECTED]> escreveu na mensagem
[EMAIL PROTECTED]&q
ars, yearly.
But s, the people at the Evangelism mailing list are expecting details
already ;-)
--
Julio Nobrega
http://gnet.inerciasensorial.com.br
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
You could select everything, count the results, and just show 15 results.
I am not sure that a COUNT() with LIMIT will perform the desired effect.
--
Julio Nobrega
Pode acessar:
http://www.inerciasensorial.com.br
"Jason Caldwell" <[EMAIL PROTECTED]> escreveu na mensagem
You can't view it anymore. You can compare a string with
PASSWORD('string') to see if they match.
--
Julio Nobrega
Pode acessar:
http://www.inerciasensorial.com.br
"Michael P. Carel" <[EMAIL PROTECTED]> escreveu na mensagem
001101c239c1$541db6a0$[EMAIL PROTECT
How about a file wilh all the directories and you compare its contents
using similar_text() or soundex/metaphone() with the url/directory that
failed?
Shouldn't be too hard to implement.
--
Julio Nobrega
Pode acessar:
http://www.inerciasensorial.com.br
"Tim Luoma" &l
I would guess your value doesn't have double quotes around.
Because what might happen is this:
http://www.inerciasensorial.com.br
"Monty" <[EMAIL PROTECTED]> escreveu na mensagem
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> If someone enters this into a field...
>
>New York "City"
Christian Calloway em Friday 26 July 2002 17:30 foi agraciado com uma
resposta por:
> Sorry this may be a little offtopic, but I am currently moving a site I
> was developing from coldfusion+MSAccess to PHP+MySQL. I remembered reading
> somewhere that there is a utility that will convert/transfe
Are there any better alternatives? I must log this data for every
requested page since it's for a bank application (ever had the Central Bank
of your country asking for log files? ;-)
Thanks,
Julio Nobrega
http://gnet.inerciasensorial.com.br
--
PHP General Mailing List (http://w
_field) = DAYOFMONTH(CURRENT_DATE),
'Today', IF (date_field = DATE_SUB(date_field, INTERVAL 1 DAYS),
'Yesterday', date_field)) FROM table"
If the date isn't today or yesterday, you will get the date_field contents.
--
Julio Nobrega
Pode acessar:
http://www.inerciasen
fied. Then when the next query
comes, compare if one already exists on the database. If so, only grab the
"rawdata", ie, the previous results.
And read Mysql's manual section about optimization if you haven't done so
already, since it has important tips.
--
Ju
This might help you:
http://www.faqts.com/knowledge_base/view.phtml/aid/1982/fid/58
I've also seen before an actual php script that interacts with a C program
to do the same. Google for it and it will be esay to find.
--
Julio Nobrega.
Um dia eu chego lá:
http://sourceforge.net/pro
This is not the global that is meant on the update. Not the global $var
that you put inside your functions.
That's scope, btw. You are making a variable available inside a different
scope (the function), by making it "global".
The global you are searching for is, like when you submit a for
Instead of uploading to Mysql, why don't you store the file at a directory
and on Mysql only the path to it?
Retrieving files from the hard drive is much faster than doing the same on
Mysql, and also access to manipulation (insert, update, delete, etc...)
--
Julio Nobrega.
Um dia eu
echo "My Name is " . $_GET['myName'] . "\n";
Specify where myName is from! It's coming from GET method, in other
(simplistic) words, from the url.
--
Julio Nobrega.
Tô chegando:
http://www.inerciasensorial.com.br
"Paras Mukadam" <[EMAIL PROT
Thanks Brian, it's working!
--
Julio Nobrega.
"Brian Paulson" <[EMAIL PROTECTED]> wrote in message
005101c1f2af$fa59eb00$89010a0a@bpaulson">news:005101c1f2af$fa59eb00$89010a0a@bpaulson...
> Julio,
>
> Try this
--
PHP General Mailing List (http://www
he middle. The result I am looking for is
"Joe Cougar Doe".
So:
$searched = "Joe Doe";
$original = "Joe Cougar Doe";
$final = "Joe Cougar Doe";
Any ideas about how can I achieve this result? I am currently using
eregi_replace($searched, "$searched&
Make a unique form key for every form. When someone submits, store this
unique key. Don't insert another form is there's a key already there :-)
Make sure it's unique, like of current time in miliseconds plus random
characters, I don't know.
--
Julio Nobrega.
Um d
t
less headcaches by using it (specially maintance and portability)
As usual, use the best suited hammer :-)
--
Julio Nobrega.
Um dia eu chego lá:
http://sourceforge.net/projects/toca
Ajudei? Salvei? Que tal um presentinho?
http://www.submarino.com.br/wishlistclient.asp?wlid=6641767428
!ereg(' ', $text)) {
echo 'Please use spaces!';
}
--
Julio Nobrega.
Um dia eu chego lá:
http://sourceforge.net/projects/toca
Ajudei? Salvei? Que tal um presentinho?
http://www.submarino.com.br/wishlistclient.asp?wlid=664176742884
"Mantas Kriauciunas" <[E
Faster, and better interaction with the engine that runs php (and
therefore other parts of the system).
--
Julio Nobrega.
"Franky" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Why is better to write module than class?
> ok
Load the experimental apache2filter.dll instead.
--
Julio Nobrega.
Um dia eu chego lá:
http://sourceforge.net/projects/toca
Ajudei? Salvei? Que tal um presentinho?
http://www.submarino.com.br/wishlistclient.asp?wlid=664176742884
"Kirk Babb" <[EMAIL PROTECTED]> wrote i
uess
the actual filename (it's something like 27bf1bb8b919e7c35217f76e45f1e86a)
--
Julio Nobrega.
Um dia eu chego lá:
http://sourceforge.net/projects/toca
Ajudei? Salvei? Que tal um presentinho?
http://www.submarino.com.br/wishlistclient.asp?wlid=664176742884
"Jan Peuker" <[EMAIL PROT
ent_name;
$clients['address'][$i] = $clients_address;
$i++;
}
Alguma coisa do genero :-)
--
Julio Nobrega.
Um dia eu chego lá:
http://sourceforge.net/projects/toca
Ajudei? Salvei? Que tal um presentinho?
http://www.submarino.com.br/wishlistclient.asp?wlid=664176742884
"
Send head()ers before any html output (including spaces or newlines before
http://www.inerciasensorial.com.br
"Liam Mackenzie" <[EMAIL PROTECTED]> wrote in message
006801c1ed9e$1fddf4a0$0400a8c0@enigma">news:006801c1ed9e$1fddf4a0$0400a8c0@enigma...
> Hey all,
>
> Just curious as to what the best
and there always
someones inspired by your app, such as especific to a client, to a part of
the webiste, to users, merchants (or vendors), etc
--
Julio Nobrega.
Um dia eu chego lá:
http://sourceforge.net/projects/toca
Ajudei? Salvei? Que tal um presentinho?
http://www.submarino.com.br/wishlist
N$:
Searched the manual/Google but haven't found any relevant information
about characters being replaced in GD...
Any help is welcome, thanks
--
Julio Nobrega.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Store a link to the file!
Mainly because filesystems are designed to store, er.. files ;-)
There's a note on Mysql's manual, under Optimizations, that recommends
this.
--
Julio Nobrega.
Tô chegando:
http://www.inerciasensorial.com.br
"Php List" <[EMAIL PROTE
mp;$_SESSION
And a mix with & in function definition and call, and didn't work.
I am tired :(
--
Julio Nobrega.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
rror persists.
So:
How can I destroy the session variable inside showError($_SESSION)?
Thanks for any tips,
--
Julio Nobrega.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
these "in between" entries.
--
Julio Nobrega.
Um dia eu chego lá:
http://sourceforge.net/projects/toca
Ajudei? Salvei? Que tal um presentinho?
http://www.submarino.com.br/wishlistclient.asp?wlid=664176742884
"Jan Peuker" <[EMAIL PROTECTED]> wrote in message
006c01c
lways echo the var instead of the short form &type="
// With session_id() instead of $PHPSESSID or $SID
ACTION="network_option_transunion.php?PHPSESSID=&type="
// At the last part of the url
ACTION="network_option_transunion.php?type=&PHPSESSID="
--
Julio Nobr
Are you using Windows? That's the one I can give you a tip about :-)
Stop the server, overwrite all php files with the new ones, pick up the
new "php4ts.dll" and copy it to your Windows, Windows\System and
Windows\System32. Restart the server :-)
--
Julio Nobrega.
Um dia eu
www.phpide.de
It's called PHP Coder. Don't get the versions by Maguma (last time I used,
it was buggy). Instead, go to older downloads and get the PHP Coder file
named phpide-r2p3setup
--
Julio Nobrega.
Um dia eu chego lá:
http://sourceforge.net/projects/toca
Ajudei? Salvei?
newsgroups, but I couldn't not let it pass without brief comments of what is
usually expected in such enviroments :-)
--
Julio Nobrega.
Um dia eu chego lá:
http://sourceforge.net/projects/toca
Ajudei? Salvei? Que tal um presentinho?
http://www.submarino.com.br/wishlistclient.asp?wlid=66417
> Can anybody explain me how to do the backup?
Mysql's manual?
> I want to make a script to do a backup of a MySQL DB and email me it. It
is
> posible?
Then you take the backup (aka Mysql's dump), and attach it to a mail();
--
Julio Nobrega.
Um dia eu chego lá:
htt
ope!)
So, any advices about how to display the comments like this:
- Comment 1
- Comment 2
- Comment 3
Is greatly appreciated. I am thinking about storing all comments in an
array and construct the layout from there. But still, I don't know if it's
the best choice in performance
Hi!
I have tried to make a complete modular php cms system. The hardest part
was not selecting which modules to load, but their presentation. I don't
know if what I did was good enough, i.e: the best implementatin, but
somewhat was working.
What I did was basically query a Mysql table, sel
.
As an open source developer, if you are, I would go with the most used,
.php. Even if you are not.. :-) A client or "boss" can always change
webhosting services and you gotta be prepared ;-)
--
Julio Nobrega.
Um dia eu chego lá:
http://sourceforge.net/projects/toca
Ajudei? Salvei? Que
$str = 'a b c foo bar';
$array = explode(' ', $str);
--
Julio Nobrega.
Um dia eu chego lá:
http://sourceforge.net/projects/toca
Ajudei? Salvei? Que tal um presentinho?
http://www.submarino.com.br/wishlistclient.asp?wlid=664176742884
"Jack Dempsey" <[E
http://www.zend.com/zend/tut/drop-down.php
--
Julio Nobrega.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
error_log(), with
a few twists.
> Why using a bloated error handling class that what you want without
> requiring 800 lines of code that PEAR error handler does?
I didn't know and I kind knew it, that's why I asked for tips ;-)
--
Julio Nobrega.
Um dia eu chego lá:
http://sou
tom_function(), if before
the return you $_SESSION['error'] = 'Error!';. Then you could check for
false or true with your if (custom_function()) and echo/unset the
$_SESSION['error'] part.
--
Julio Nobrega.
Um dia eu chego lá:
http://sourceforge.net/projects/toc
#x27;file');
}
}
And etc, etc, etc :-D
I understand there's a lot of "etc" on my post, that's because I am still
thinking about all the features that I think that would be useful on a such
class... ;-)
--
Julio Nobrega.
Um dia eu chego lá:
http://sourceforge.net
ot of time, you know :-D
If I can't find this class, I will make one and submit it to your website,
okay? ;-)
--
Julio Nobrega.
> Why do you want to use a bloated 800 lines error handling class when PHP
> already has built-in functions to do exactly what you want?
>
> http:/
27;s choice. If there's a way to keep using PEAR to handle
other errors, I would be very glad if someone could point me to any tutorial
or documentation about how to do so,
Thanks,
--
Julio Nobrega.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
That would be easier. fopen the session file and store the information on
a database. Later you just fwrite the contents to a new file.
--
Julio Nobrega.
Um dia eu chego lá:
http://sourceforge.net/projects/toca
Ajudei? Salvei? Que tal um presentinho?
http://www.submarino.com.br
I read this post a few days ago and didn't know what is "Screen Scrap". I
thought someone would know and would reply to you.
Well, a long time has passed and none replied. So I make my question, what
are you trying to accomplish in simpler terms? :-)
--
Julio Nobrega.
Um
abase contents. So it it's much easier to get a fast system if you are
using files."
I guess Mysql developers are a good reference ;-)
--
Julio Nobrega.
Tô chegando:
http://www.inerciasensorial.com.br
"Mike Fifield" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]&quo
Mysql table with a meta column and a url column:
$url = $PHP_SELF;
$sql = "SELECT meta FROM table WHERE url = '$url'";
Just select from the database a meta column depending on the url people
are.
--
Julio Nobrega.
Um dia eu chego lá:
http://sourceforge.net/projects/
http://www.oscommerce.com/
--
Julio Nobrega.
Um dia eu chego lá:
http://sourceforge.net/projects/toca
Ajudei? Salvei? Que tal um presentinho?
http://www.submarino.com.br/wishlistclient.asp?wlid=664176742884
"Robert Collins" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECT
n use Pear's Db
class, and a few other things here and there (nice things, btw ;-)
--
Julio Nobrega.
Um dia eu chego lá:
http://sourceforge.net/projects/toca
Ajudei? Salvei? Que tal um presentinho?
http://www.submarino.com.br/wishlistclient.asp?wlid=664176742884
"Arcadius A." <[
Yes, if the user you are, and are trying to access the dir/files, also
have access to them.
--
Julio Nobrega.
Um dia eu chego lá:
http://sourceforge.net/projects/toca
Ajudei? Salvei? Que tal um presentinho?
http://www.submarino.com.br/wishlistclient.asp?wlid=664176742884
"Andy&quo
iles should be chown phpmy.apache, where phpmy is a
user whose password is only known to you, and apache is the group under
which Apache runs.
You should use PHP safe mode, to protect from other users that try to
include your config.inc.php3 in their scripts.
--
Julio Nobrega.
Um dia eu chego lá:
ht
Art
Biology
Business and Economics"
etc.
etc.
Note the [] after majors. Now majors is an array with the selected values.
--
Julio Nobrega.
Tô chegando:
http://www.inerciasensorial.com.br
"Brian McLaughlin" <[EMAIL PROTECTED]> wrote in message
[EMAIL PR
rds, and INSERT-SELECT from temp to
original...
--
Julio Nobrega.
Tô chegando:
http://www.inerciasensorial.com.br
"Analysis & Solutions" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > On Wed, 12 Apr 2000, Steph wrote:
> >
>
= substr_count(strtolower($text), $close_tag);
if ($nr_open_tags > $nr_close_tags) {
$missing_tag .= 'A tag ' . htmlentities($open_tag) . ' was
not closed!';
}
}
if (!ereg("^[[:blank:]]*$", $missing_tag)) {
return '
Make an autoincrement/primary column?
Or keep a number stored and increase it one by one and using when
derirable?
I prefer the first one :-)
--
Julio Nobrega.
Um dia eu chego lá:
http://sourceforge.net/projects/toca
Ajudei? Salvei? Que tal um presentinho?
http://www.submarino.com.br
Checkout the substr() function. You can do something like:
if (substr($var, -9) = '_.jpg')) {
// do something
}
-9 would be the staring position. I am not sure if this is the right
number, so you will have to look at the manual :-)
--
Julio Nobrega.
Um dia eu cheg
nes I log, if I recall correctly :-)
--
Julio Nobrega.
Um dia eu chego lá:
http://sourceforge.net/projects/toca
Ajudei? Salvei? Que tal um presentinho?
http://www.submarino.com.br/wishlistclient.asp?wlid=664176742884
"Martin Clifford" <[EMAIL PROTECTED]> wrote in message
[E
Cookies disabled? Or cache? Have you tried a 'fresh' Opera install or a
newer version?
--
Julio Nobrega.
Um dia eu chego lá:
http://sourceforge.net/projects/toca
Ajudei? Salvei? Que tal um presentinho?
http://www.submarino.com.br/wishlistclient.asp?wlid=664176742884
"S
)
More than one column:
$sql = "SELECT id, city FROM table WHERE name = '$name'";
$res = mysql_query($sql) or exit (mysql_error());
list ($id_user, $city_user) = mysql_fetch_array($res);
Vars inside list() can have any name you wish, just remember to put the
same number as the
Still you can use Javascript. get it and reload the page appending the
info on the url. Or write to a file and open with php.
Or you could get what country the user is and calculate the time zones.
--
Julio Nobrega.
Um dia eu chego lá:
http://sourceforge.net/projects/toca
Ajudei? Salvei
How about:
$site_root = '/www/user/htdocs/';
Instead of going relative, go from the root. Or you could put $site_root
as your url:
$site_root = 'http://www.your_site.com/';
--
Julio Nobrega.
Um dia eu chego lá:
http://sourceforge.net/projects/toca
Ajudei
ction page.
The thing is to find out whetever you can check that should be fixed
between page transitions or things that you can invent.
Not 100%, but the more, the best.
--
Julio Nobrega.
Um dia eu chego lá:
http://sourceforge.net/projects/toca
Ajudei? Salvei? Que tal um presentinho?
return; stops a function execution.
Function One()
{
If (!$var) {
return;
}
}
--
Julio Nobrega.
Um dia eu chego lá:
http://sourceforge.net/projects/toca
Ajudei? Salvei? Que tal um presentinho?
http://www.submarino.com.br/wishlistclient.asp?wlid=664176742884
"Mauricio C
Okay, just phpinfo(); and use the variables. You can see whetever you will
need there for url script construction. If you need, setup two pages with
phpinfo() and a link between them so you can check for Referers (the Last
Url you need)
--
Julio Nobrega.
Um dia eu chego lá:
http
$REQUEST_URI?
If it's not the full you can complement with $HTTP_HOST or similar.
--
Julio Nobrega.
Um dia eu chego lá:
http://sourceforge.net/projects/toca
Ajudei? Salvei? Que tal um presentinho?
http://www.submarino.com.br/wishlistclient.asp?wlid=664176742884
"Ben Edward
the information are shown like if I really
did a print_r();?
Any help is great! :-)
Thanks,
--
Julio Nobrega.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Curl, gd, zlib, sockets, pdf... pear is fine but you don't need your isp
to install, can have on your own directory. Humm... if possible, no
safemode() enabled :-)
--
Julio Nobrega.
Um dia eu chego lá:
http://sourceforge.net/projects/toca
Ajudei? Salvei? Que tal um presentinho?
Also the last question from this page:
http://www.php.net/license/
If what the guy is holding in his mouth is really this...
--
Julio Nobrega.
Um dia eu chego lá:
http://sourceforge.net/projects/toca
Ajudei? Salvei? Que tal um presentinho?
http://www.submarino.com.br/wishlistclient.asp
Make it this way:
Looping first. I will loop with while:
$i = 0;
$array = Array();
while (list($value) = mysql_fetch_array($result)) {
$array[$i] = $value;
$i++;
}
Arrays are easier :-) Each $i will be a key.
--
Julio Nobrega.
Um dia eu chego lá:
http://sourceforge.net/projects
Haven't seen it either, but you could use:
echo '<' . '?';
So < is separated from ?. Or ? from > for the matter.
--
Julio Nobrega.
Um dia eu chego lá:
http://sourceforge.net/projects/toca
Ajudei? Salvei? Que tal um presentinho?
http://www.submar
Maybe parse_str() will do the trick?
I am using it in a close situation, I store:
a=1&b=1
And $a has value 1, $b has value 2.
But I guess to work in your case you would need to stripslashes(); and
str_replace(';', '&', $string) before the parse_str();
-
ficados' without a value, so I can make
this:
function MakePowers ($area, $powers)
{
foreach ($powers as $value) {
$_SESSION[$area] = $value;
}
}
But this gives me ILLEGAL OFFSET error on $_SESISON[$area];
Any help? Again? :-)
--
Julio Nobrega.
Um dia eu chego lá:
htt
ys of $_SESSION values that say what powers the
user has, powers that come from the $powers array.
ANY help? I hope I did a good job trying to explain what I am trying to do
:-)
Many thanks for any help, sincerely!
--
Julio Nobrega.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ger done in sql... other option is to merge the
individual sql queries using array_merge or similar functions.
--
Julio Nobrega.
"Daniel Ferreira Castro" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hello guys
>
> I have a databas
for ($i=0;$i<$_POST[count];$i++)
{
echo $_POST['address' . $i] . '';
}
Concanate array key 'address' with $i
--
Julio Nobrega.
Um dia eu chego lá:
http://sourceforge.net/projects/toca
Ajudei? Salvei? Que tal um presentinho?
http://www.submari
You could store the query somewhere, like in a database or file, give it
an id, and store this id on a cookie. When the visitor returns, just grab
the corresponding query using the cookie's id.
--
Julio Nobrega.
Um dia eu chego lá:
http://sourceforge.net/projects/toca
--
PHP Ge
Not possible, read the manual page about setcookie:
www.php.net/setcookie
There's a 'common pitfall' entry saying so.
Don't know why. Maybe the cookie is only written to user's disk after the
page is fully loaded, maybe for security reasons.
--
Julio Nobrega.
Hi all,
I am trying to build a regex to check if an array of allowed html tags
were closed. For example:
Wrong:
text
Should give me something like: Tag was not closed.
Here's what I came up so far:
$tags_to_check = Array('a','b','i','p');
foreach ($tags_to_check as $tag_check) {
i
ini_set ('include_path', '/new/path').
Change '/new/path' to (usually) your website root.
Beleza?
;-)
--
Julio Nobrega.
Um dia eu chego lá:
http://sourceforge.net/projects/toca
"Alberto Wagner" <[EMAIL PROTECTED]> wrote in message
LI
http://www.google.com/search?q=php+debugger&sourceid=opera&num=0&ie=utf-8&oe
=utf-8
Google good! ;-)
--
Julio Nobrega.
Um dia eu chego lá:
http://sourceforge.net/projects/toca
Ajudei? Salvei? Que tal um presentinho?
http://www.submarino.com.br/wishlistclient.asp?w
There's an php obfuscator, http://pobs.mywalhalla.net/, and one of the
options is to remove comments.
--
Julio Nobrega.
Um dia eu chego lá:
http://sourceforge.net/projects/toca
Ajudei? Salvei? Que tal um presentinho?
http://www.submarino.com.br/wishlistclient.asp?wlid=664176742884
&q
mysql_query("UPDATE access SET accessVIEW = accessVIEW+1 WHERE accessIP =
'$proxy_ip'");
Singles quotes around $proxy_ip?
--
Julio Nobrega.
Um dia eu chego lá:
http://sourceforge.net/projects/toca
Ajudei? Salvei? Que tal um presentinho?
http://www.submarino.com.br/wis
$DOCUMENT_ROOT inside a function, scope problems. Pass it as an argument
or global, or use $_SERVER['DOCUMENT_ROOT'];
--
Julio Nobrega.
Um dia eu chego lá:
http://sourceforge.net/projects/toca
Ajudei? Salvei? Que tal um presentinho?
http://www.submarino.com.br/wishlistclien
From all users on your site? I guess only if you open the directory where
the session files are stored. And loop through the files, opening each one
and interpreting the contents.
--
Julio Nobrega.
Um dia eu chego lá:
http://sourceforge.net/projects/toca
Ajudei? Salvei? Que tal um
Like I said:
somejavafunc();
--
Julio Nobrega.
Um dia eu chego lá:
http://sourceforge.net/projects/toca
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Maybe not the way you have imagined, but either you do it outside php (out
of ) or you echo it.
--
Julio Nobrega.
Um dia eu chego lá:
http://sourceforge.net/projects/toca
Ajudei? Salvei? Que tal um presentinho?
http://www.submarino.com.br/wishlistclient.asp?wlid=664176742884
"David Joh
1 - 100 of 226 matches
Mail list logo