Domain Search | www.


Related Pages:

Well you can choose to not authorize online but the auth code to put back in has to come from adobe yet one only
Ok so heres a theory question sort of so i have this script which uses the GD library and outputs a dynamic image
Hey guys sorry quick question i have a text field i am retrieving from a mysql db i am trying to place the story
Hi var_dump shows private and protected variables in its dump Is it possible to get this information in say an







Poor HardDisk_WP

:P

Bad aim

that is why i hate tab completion

hmm the permissions are fine on the file but it is still giving me the error

you end up typing 90% of the name anyway
and you spend more time trying to get it to complete right

looks like your contact form will be very very abused once you get it up

or just kick out anyone else using the similar name

Though there is no mention of the pastebin in the topic
Not like it's any excuse

...

I know I know

the print lines print to the screen as it should, but yet it is still giving me a warning about the failed opening for inclusion

it says /msg php-bot guidelines

its kind of self explanatery is paste bin

Alright

if you can't wrap your mind around guidelines, you're screwed here, anyways

pastebin is considered de-facto necessary in all channels.. except maybe #flood

if you've been on an IRC channel that helps with code, even once before, you know that pastebins are required

I was just parsing through the topic in diagonal
That was my point, what if it's his first time
He's going to be all ""

you tell him to use a pastebin

But I SHOULD have seen the guidelines reference

http://pastebin.parentnode.org/18854

Being on IRC for the first time doesn't make you being excused for ignoring /topic

its the bottom lot of code, with the three functions, i was told to change them to something.

I know
I said I was sorry
mea culpa, mea maxima culpa

that form will get abused

$emailme! = Trim(stripslashes($_POST['emailme!'])); -- Woof?

i know i know =p

$email = $_POST['email']

That's a given, it's going to be as abused as a cheerleader at a frat party
I hope this one is not in breach of the guidelines

meow!!

you really shouldn't put that form live... because once it's found you're going to get a nasty letter from your provider

syntax error, unexpected T_VARIABLE in /home/nana/sendemail.php on line 5
ive just edited the file.

And if your using a commercial hosting company I can guarantee that it's going to be some royal jerk like me who takes pride in destroying webpages.

i suggest this: http://www.amazon.com/Sams-Teach-Yourself-Hours-Third/dp/0672326191

hi, i am havinf problem with ldap, how could i get all values of one entry in ldap

in 24 hours

How to get the relative path i.e. Suppose I am www.abc.com/test1/a.php then how to get "www.abc.com/test1/" value in a string?

why don't you just snag an existing form-mailer script?

dirname(__FILE__);
oh wait, that would be the path not the url

http://www.amazon.com/Beginning-Php-4-Programmer/dp/1861003730 Something like that is honestly gonna teach more. Those 24 hour & 21 day books are about like spoilers to good movies.

dirname($_SERVER['REQUEST_URI']); then

http://www.php.net/manual/en/function.parse-url.php
or what TehSausage said.

http://pastebin.ca/626064, returns me: Warning: ldap_get_values_len(): Cannot get the value(s) of attribute Decoding error in /var/named/etc/namedb/ldap_parser.php
anyone know why come to this error

got it working now thanks _hp_

TehSausage:foutrelis: What I actually is needed a way to get the physical path of the url so that in can test that path with file_exists?
dirname(__FILE__); gives me what I asked for But I was wrong in asking question

good day

meow

apache's rewrite module is soooooo cool ^.^
hey

is there an easy way to send +, ^ and & over GET/POST?

Can someone have a look at this code, I am getting an undefined index on email host and username on lines 39 and 50
http://sial.org/pbot/26402

sure
that stuff wasn't included in the submission
also, stop using ereg, it's deprecated

htmlentities()
ereg pretty much stinks

I think php webhosting hates me with a passion.

hi

aloha

So I know this seems like a really rookie question but I just got thrown into the job of writing a bunch of stuff for work and I'm a system admin, not a web designer. Is there any way to stop a php script from processing past a certain point? Like say I want it to check something and if true continue merrily along if false spit something out and stop processing.

i try to run cacti that tries to access "/usr/bin/rrdtool" but when starting it tries "/home/www/empty//rrdtool" although the path to rrdtool is set correctly

hello

well you can use a framework, or you can do if else, or you can do an exit

can you have multiple conditions in one if statement?

yeah, why not?

Exit works? Okay. I'm use to break/return/continue etc. Thanks.

how would I seperate each one? eg 1=1 2=2 3=3...

and is && and or is || and you can have lots and lots of conditions

ok thanks

you say that as if to imply there is no 'or' and 'and' operator
if( 1==1 or 2==2 or 3==3 ){ things }

Thanks. If I could kiss you I would. That was the only thing I was missing.

|| is the or operator and && is the and operator

|| is the high priority or operator, it's not the or operator, ther's also 'or'
u|| is the high priority or operator, it's not the or operator, ther's also 'or'/u

_hp_ for one starting... maybe using words make it easier
foutrelis they're

I learned something today.

and, or, nor, xor, not, eq, ne...

omg!
very cool :P

wow
thats my kind of language

eq?

normally coders use just symbols... not write it all down

equal?

f00li5h equal like in PERL

i'm pretty sure it's not like in perl
and perl is not spelt PERL

xor? ne? ... never?

not equal

whats xor

exclusive OR

I don't even know what that means :P

usely mostly for encryption
used

One is false, one is true, I think.

ok
anyway I must get back to work! just needed to know that

i don't see eq listed in the manaul

syntax error, unexpected T_STRING in...

yup
I was testing it too
on PHP it has to be ==, !=... sorry then

==

well actually... one more niggly question

You have joined #php

why can you do mysql_query("UPDATE blah SET blahb = '$_POST[blahc]'")? the bit I don't understanding being '$_POST[blahc]'. Why doesn't "$_POST[blahc]" literally get put into the database, when the $_POST command is surrounded by " "

http://hashphp.org/pastebin?pid=23995

you can't interpolate that way
you should unpack and check the contents of $_POST before you include them in sql host statements
or atleast use the database hosting escaping functions

you could use regex to make sure the ip address host address was physically possible not just in length but in numerical value.
but that works fine

what works fine?

can i embed php code within a heredoc block ?

that example I gave

which?

zophy, i don't think so

why can you do mysql_query("UPDATE blah SET blahb = '$_POST[blahc]'")? the bit I don't understanding being '$_POST[blahc]'. Why doesn't "$_POST[blahc]" literally get put into the database, when the $_POST command is surrounded by " "
that

"UPDATE blah SET blahb = '$_POST[blahc]'" will interpolate as 'Array[blahc]'

I couldn't use heredoc in a script not ended but ?

because arrays don't interpolate that way

you should use {}
{$_POST[blahc]}

you should not include $_POST directly in a query

hmmm

unless he escapes it ..

why is that

because the first time someone called o'reliy uses your site it breaks

*ended by

you shouldn't alter super globals, so you can't "escape it"

heh this is true

s/true/ a super obvious and often done security hole on php based applications/

f00li5h, why not ?

what do you mean?

i mean, why you shouldn't alter super globals

$_POST[blahc] = ';UPDATE admin FROM other_table SET password='something' WHERE username='admin

they're global to the whole application, you're likely to bork things up if you change them

SirArthur_pt, that doesn't really work
you can't separate sql commands with ;

things that can happen when passing unescaped posts directly on queries

every single bit of code in your application can access them

in mysql with php anyway
SirArthur_pt, nope
try to execute select 1;select 2;

you can get access as any user by putting in the password ' or 1 = 1; --

you'll get sql host error, syntax error near ";" or something

so how can I get around the aformentioned o'reilly problem and all similar ones
bso how can I get around the aformentioned o'reilly problem and all similar ones/b


Related Topic:

Well you can choose to not authorize online but the auth code to put back in has to come from adobe yet one only
Ok so heres a theory question sort of so i have this script which uses the GD library and outputs a dynamic image
Hey guys sorry quick question i have a text field i am retrieving from a mysql db i am trying to place the story
Hi var_dump shows private and protected variables in its dump Is it possible to get this information in say an