IPAddr to validate an ip address a user enters Anyone see any reason why it constantly returns false

this way it wont die, right?

yes, but unless the function is only going to be called very rarely, it's unlikely to be worth it

you can include files from inside a function, you know

conditional function declaration is generally something to be avoided

http://pastebin.ca/626815 why does it output a row that doesnt have the right tags.. but the same letters?

if I put each snippit of my code (that i'd like to make into functions) into separate files, it'd get way too messy for my liking

i assume $_GET['tag'] is a string Sashi?

can you un-define a function?

yea?
yea*

generally no. there's pecl/runkit but that's not generally available, or advisable to use

ok thanks

?tag=foo displays one record, but ?tag=bar displays foo record and bar records

clever bit of code though, if you're interested in php extensions

foo is a string, you are treating a string like an array when you do $text[$i] … is this what you intends, Sashi?

yep

$text = 'foo'; //$text[0] = f … this is what you want Sashi?

no.. i want to display ?tag=foo, and in mysql any tags that have the word foo in it, itll display it
but right now its displaying both foo and bar even if they dont have the same tags

then you just want $text
then you just want LIKE %{$text}% Sashi

thats what i have
wait no $i?

no… because you dont want to access the letters of the string do you?
you dont need a loop

h3sp4wn

echo 'Hello ',$firstname,' ',$Lastname,' and welcome to the site';

ok thanks

sorry wrong window

yes

thanks for the help everyone. for anyone who cares, I am (re)writing an irc bot using net_smartirc.

an irc bot… in php?

Ok, I understand all of that now. Time to move on

remember , only works with functions/language constructs like "echo"
so $myStr = 'hello ', $username; wouldnt work

yeah, it's not that bizarre :P

to some, maybe

How i count in pixels the lengh of string? its crazy but i need :P

do yourself a favour learn perl and use poe

I have enough trouble with php, thanks. :P

pixel size of letter * no. letters _nopp?

if you're writing an irc bot, i'm not surprised

which language has more features

*wrong language*

I've done it before, he did a lot. You could teach him things which he stored in a database, search urbandictionary, etc etc.

PHP's usefullness is c/log(r) where r is the total runtime of the process and c is the experience of the developer

But he was poorly written. I learnt a lot of php webhosting while making him. So… re-writing. :P

it's like teaching a donkey to tapdance

lol HarryR

yes the size in pixels of letters

that depends on the font and the font size _nopp

what are you talking about, gd?

hmmm but how i do that ?
no no i nedd count size of string in pixels :|

for what?

sorry my english :|

the size of a string depends on the font
php doesnt know what font youre using

thanks einstein

m = m0(1-v^2/c^2)^-0.5 , arpad

_nopp, there's a gd function imagettfbbox that does that.

hmmmmm I go test, tnks

if you're really einstein, give me the 3rd integral

with respect to?

yes hehe you are the man :P uhauha

x :p

imagettfbbox

what are you talking about, gd?

pastebin all the relevant code
we need some context..

I wanted to only know as to know the size of one string in pixels, I do not know that function to use for this. I will use to make an image to be under of a menu with the certain size of the text of this menu.

7part
gnah xD

I have a large string of hex pixel colors, and I'm trying to generate an image based off of it, but it's not working correctly
http://php.pastebin.us/38327

but *why*? are you generating that string into an image with gd?

the idea is that, based off of the dimensions, the loop will get the pixels up until the width, and then it will jump down a row

interesting name… paste a sample of the source string

ot, this image has that ficarm under of the menu
not, this image has that ficarm under of the menu*

try again

not image hosting with text

what is it then?

http://php.pastebin.us/38328

I make to soon appear the name of the menu and under an image that a visual effect of the menu makes and only would have that to be of the same so great of the text it understood?
my english :| hehe

a single hexdec won't do it, there's three seperate components
separate^

hey peeple
i want to use some charting software

php5?

i pulls the data from xl file into swf
xml
what i want to know is how do i make that sml file data
xml
can i use php to output an xml file

sure
echo 'xml version="1.0"?……';

oh, glanced too quickly at that :,

see php.net for simplexml

any reason you're not using imagecopy()?

http://softnepenthe.com/applications/XML/XmlEditor.php uses simplexml, something i put together today for some xpath testing

Interesting that I can't save a change.

imagecopy?

Nope.

no, not necessarily- do you think that could make a difference?

works now!

:^(

i capitalised a file name for consistency, but forgot to update the form action

php4

MattKelly, $int = hexdec('0x'.$data[$i++]);

youll need to refresh /me rolls his eyes

forget that, it works without 0x too

well yes, it will do it far more efficiently than your code can

indeed, haha- you got me excited :P

instead of searching for a sql host table, how would you make it to search for a html/php file (Search Box)

in terms of generating the image, though? the problem is that the pixels are off

you're copying an image, right?

I'm getting an image string from Flash
similar to the string I pasted

ah i see

MattKelly, what is the image supposed to look like? I'm getting approximately black and white background with a green Z over

how are "the pixels off"?

load the file names of the files in a dir into an array then search the array

the Z should be a box
(that encompasses the black/white lines
it seems like it starts writing pixels diagonal when it reaches the end of the first lin
line

than you have a bounds problem probably..
yup.. put = instead = in the loops

doh, of course my server would die
so this works for you?

from where to where can I get the letters a to z, with char again
Forgot the range if anyone could point me out, please do

just google for ascii when that happens man

looked at the PHP docs, not gonna google, just gonna loop thru chr and look at the output

65-122 sean`?

asciitable.com

are you talking about chr(..); ?
php -r "echo chr(65). ' - '.chr(122);
php -r "echo chr(65). ' - '.chr(122);"
hmm i thought …

A - z?

yes, i assumed sean` wanted the askii range for the letters

97-122 is a-z
65-122 covers A-Z, a-z, and several symbols hiding inbetween them

really? hmm

http://www.fileformat.info/info/unicode/block/basic_latin/utf8test.htm
[ \ ] ^ _

a book on c++ i read a few years ago said 65-122 was the entire range

oh, and `
It is the entire range, plus some others.

6" how can I convert it to GMT +2 ? (I know users zoneoffset its in text format

that makes the for loops run forever

mktime gcardinal?

help help

then add two hours in seconds

6 " . $usersOffset); $dt = gmdate('Y-m-d H:i:s', $tm +

I can change the stupid time zone
I've tried putenv("TZ=US/Eastern"); and date_default_timezone_set()
both don't work

how i subract two days off date(Y-m-h) and return in the form date(Y-m-h)

!+doesn't work

Look buddy, doesn't work is a strong statement. Does it sit on the couch all day? Does it want more money? Is it on IRC all the time? Please be specific! Examples of what doesn't work tend to help too. Finally, showing us the code is helpful (after you've explained your problem). /msg php-bot
pastebin for more information

sorry Y-m-d

Pollita - wow thx!

wait lemme try something

strtotime()
(and then date() to get it back to the same form)

MattKelly, sorry, i've meant instead of =

Alright?

heh, fixed it, I was being stupid since I didn't change the timezone BEFORE the date was inputted into the db

Pollita worked perfectly

I thought php automatically changed the time when it fetched the data
stupid me, thx!!!1

$SITENAME = "MY SITE;" . But when I use the included file in a page, $SITENAME == "". Why's that? Any ideas?

are you using it inside a function spanoony?

Nay
Just an include

echo $this-sitename;

Ah, ace idea
Thanks

http://www.softnepenthe.com/applications/XML/XmlEditorView.class.phps.txt
ignore the random function…

?

Are variables not passed between scripts when using Include/Require then?

yes, they should be, spanoony
but have free vars about the place isnt good practise
*having

"new"

new?

I'm going to refuse to tell you, because you shouldn't be doing it.

My fixing your code to work with the _original_ php host tag

If you REALLY REALLY REALLY must do it. Think again, you shouldn't.

maybe he's trying to run someone else's code

syntax?

And you point would be?

!+G10

Guideline #10) We don't support script(s). We help you *write* PHP, not recommend or download and install/hack/modify/adapt/use pre-written scripts. Contact the authors of the script for support options they provide.
Guideline #10) We don't support script(s). We help you *write* PHP, not recommend or download and install/hack/modify/adapt/use pre-written scripts. Contact the authors of the script for support options they provide.

Pollita, tell me why Polllita

Because they suck and their code should not be trusted,.

it is a basic php question

how would I get php to output "-" $level number of times?

And he's been answered: "Don't do it"

Because the project maintainers really don't understand PHP and you should find a different project to use.

Pollita, really? its a code from sourceforge.net

str_repeat()

thanks

That doesn't make it quality.
All you need to post code on sourceforge is an email address.

Hush! All Hail SF!

Hell, I've had four on there myself…

Pollita, wow. thanks for the advice, I really never have seen this syntax, its a kind of joke or what?

"joke"…
the same joke as magic_quotes*

It's legacy from PHP3 days

omg

As is % %
And script language="php"/script

:o

is a pain in the butt

omg I didnt know about that

Most people don't.

im having trouble getting a date saved into a db table

i love webservers that interpret xml to be the start of a php tag

can anyone help me please ?

ask

$DropMenu=DropMenu
what does this line do?

http://paste2.org/p/4972

It's a HEREDOC

creates a heredoc string, Vme

hrm
k

i think its around line 75

see php.net/types.string Vme

what is xdb?

ever heard about something called elegance LookAgain79?

no im sorry i haven't

LoL
Think is implying that you code looks like crap
s/you/your/

well everyone has their own way of coding im sorry if mine is different
uwell everyone has their own way of coding im sorry if mine is different/u

Ahh…

or OO-PHP5 perhaps

thats a nice feature
lol

its called maintainability [RainMkr]

Well written code is maintainable OO doesn't make it moreso.

well it packages code to a greater extent than functions

OO makes it reusable I think

At a performance cost, sure.

of "not much" [RainMkr]

Oh great and wise mistress of PHP, thy humble naive comes before thee seeking a favor

one could argue that well written pure procedural is as maintable as functional

That argument would be wrong.

why?
can you make the statement generic so i can copy/paste them back at you?
*statements

thank you for the help

If you're not coding in ASM, your performance is simply inacceptable

What?

*unacceptable

that's kind of a non-statement
procedural is not an alternative to functional :

well the arguments for functional apply aprox. to OO and argument against OO apply against functional, [RainMkr]
i *does* take longer to use functions than prue procedural, you know

If you're ever bored one day ( I know, I know… ) would you be so kind to update your "How long is a piece of string?" to include HEREDOC?

uh… What?

lol

It does include heredoc….

/me is blind

"Think this is bad? Consider the average heredoc string which spans several lines of prepared output embedding perhaps a handful of variables along the way."

Yeah! Let's all use HEREDOC

Just out of curiosity, what do you mean when you say "pure procedural"?

BASIC without GOTO/GOSUB
God forbid you need to make the JMP call.

im rather ineptly reffering to unstructured programming Pollita

[RainMkr]: sounds like you want brainf*ck

hahahaha

consider procedural refers to procedures.. i mean a lack of them…

I've seem some C compilers produce better ASM than those written by many a person.

"procedural" is orthogonal to "structured"

hence "inept"

wait… did you just say that "procedural" refers to a lack of procedures???

LoL
Share some of that popcorn?

[RainMkr]: You see that too, right? I mean, it's not just me, is it?

bleh
Yay for elephants

Yup, but still marveling at this code I just received replacing 88 lines of echo " with a single HEREDOC…

to rephrase clearly, "well-written unstructured programs are faster than well-written procedural programs"

clear as mud

function add($x, $y) { return $x+$y; } add(1,2);

No, that's wrong. As the assembler cannot optimize any of the code thereby rendering the L2 cache nearly pointless.

1+2

i like goto

LoL

it doesnt need the same sort of optimisation [RainMkr]
which example is faster, [RainMkr]?

Call it more than once, and it will.

So to you "unstructured" means "linear"

just kidding
but what's a gosub again?

Look it up.
GOSUB was GOTOv2

oooh

my brain is overloading with all this knowledge

linear yes, unstructured removes switches etc. which is not what im talking about… im not really concentrating

i hope i remember all this important concepts

[RainMkr]: it will what?

is it possible to..automatically make a certain letter captial from $_POST even if the user didnt captialize?

1+2; 1+2; 1+2; example4: add(1,2); add(1,2); add(1,2); //which is faster?
like ucfirst Sashi?

str_replace()
Example 4

gcc, or any C compiler will optimize the function away ("inline" directive 4ex)

Unless you're using a VAX

but we were talking about OOP on the *web*

On a PDP8 or PDP11 example 3 will always be faster.

preg_replace ('#.*#s', '$1', $foo)

which is why i am making my argument

And you're making pointless examples.

if you are talking about interpreted languages, on a net environment, you just shouldn't micro-optimize that way

i agree Lowercases

as [RainMkr] is pointing out, these are not PDP-11's

Ah, but PHP doesn't *have* to be interpreted.

PHP5, [RainMkr]

Really pissed off my neighbors the last time I turned it on too.

The lights dimmed?

your code should aim for maintainability (if that word even exists)

the tiny loss of speed for OOP is not a reason to forgo its use, Lowercases - my point

Four about 5 second, yes.
s/Four/For/

it does

you have a point, but you are destroying it with your examples :P

well i was trying show that on an interpreted env. there is a loss too when using functions

Agreed. The heart of the discussion is where OO is the "be all, end all" of software development"

is there ucsecond()? :P

No.
The real issue here is the cost of OO vs functions as it relates to performance.

I don't think OOP is a silver bullet. I don't apply it everywhere I go.

ucwords Sashi?

yea thanks

[RainMkr]: Just… How BIG the PDP is?

I think OOP should be applied only when it leads to a faster or better development

In square feet?

which is most cases, Lowercases

[RainMkr]: oh, i'm not american, I think in square meters

http://rajeczy.com/arpad/lib/index.php?p=string/ucsentences

I quite don't agree with that, but it seems to be à la mode thinking that these days

It pretty much fills a 6m x 4m room

i count better to include maintainability and ease of use / understanding

[RainMkr]: o.O

OO should be applied when it leads to BETTER development, only.
I can only run it for 15 minutes at a time, not enough cooling in the room to run it much longer.

[RainMkr]: Does it boots up in 15 minutes?

power to console take about 5

heh

s/power/power on/

can your console display lowercases?

Hey I have the uber model, 8MB of RAM!

there's a way to benchmark php code if you're really into that

Nope, you're SOL.

[RainMkr]: holy smokes!

yes, rolfen, i know

that's a lot of ram. i don't think any pdp-11 ever dreamd with that amount of ram

[RainMkr]: Where the heck did you get that monster?

actually, you can't even map it with the pdp-11 word size!

hi all…I have a noob question (sorry for my english)
can someone explain why with php5 I must use php to open the code, instead of just
???
thanks

i think that can be changed in php.ini

Because php is the proper way to code.

yeah I know
my code is rubbish
eheheh

noo dont be so harsh on yourself

So… Um… Unrubish it?

of sourse Wolfpaws … I'm doing it

manually?

i have an array that i know is filled in a function, but when i return($array) its empty

course*
ehmm…my sites are not very big
and sometimes I've forgot it…sometimes not

find -name \*.php | xargs sed -i s//php/g

printf('a href=mailto=%s%s/a', $record['ext_email'],$record['ext_email']);

how would i make it so that, when you display a table, no duplicate values in any rows do not show?

guys is that correct? i want to have a mailto: link to the records i pulled up from the dbase

and if you're on windows you can use Emeditor it lets you do complex find and replace

to be honest…
the problem occurred becaus I've installed zabbix
and the front-end
the default config file
sorry
is lke that…

$DB_TYPE='MYSQL';
$DB_SERVER='localhost';
$DB_DATABASE='zabbix';
$DB_USER='zabbix';
$DB_PASSWORD='zabbixsqlpassword';
?
as you can see no php
so I've spent 2 hours to see the problem
-.-

can someone help me with my empty returned array

grumble
!+away

Please, disable any public away scripts that announce your away status in ##php. It's pestering and raises the channel temperature in such a large, public channel.

guys anyone on question?
ok got it
thanks anyways

are = tags going away too?

yes

oh, those were so cute :'(

yeah, right

no more = …? that's not backward compatible…
well good thing i know now

sorry

lots of BC is being removed
!+sorry

Don't be sorry, just don't do it.

ye now I know that is not allowed -.-

which astebin do y'all use

The one that works

so, thanks for your help
and also for being kicked :P
I'll go to sleep!!
bye

is php extensions development topical here? thanks.

http://pastebin.com/m1218d711 — can anyone tell me why my value is always less than .5000?

um… Yes?

in string time [, int now]

eugh. Smarty

what does the int now bit mean

Read *ALL* page

all?

entire

i know, smarty. im trying to alter something in a shopping cart and it's killing me. the smarty code shouldnt have any bearing on this though.

oh got it
sorry too late for me to be up lol

I am trying to make a tree from an array, but to display it so that for each level of the array, I add an extra "-" to the beginning of the string. So the first level would have none, the second level 1, etc. i'm thoroughly confused as to what I'm doing. I'm recursively calling the same
array, giving it a level number, but that keeps going up and each item has one more "-" than the last

Read the manuals on mtrand?

im not at all familiar with php- it's not my language- but i really just nee to fix this ne thing.
do you know the reason, Wolfpaws?

Yes I do. Go read the manuals

Can you not share the answer with me?

I could, but I have a thing about spoonfeeding people

$results, or $result?

well as i said before- php is not what i do. that would be like telling someone to learn spanish just so they know how to ask how to use the bathroom at a spanish diner./

not to bypass you, but I didn't think a typo was manual related. I probably missed whatever you were referring too though.

what's that weird notation: {php}

yeah, I've missed that
smarty

oh…

Nomikos. checking the typo now.

Why did the pervert cross the road? Because he couldn't get his dick out of the chicken.

here's a real gem of code: ini_set('display_errors', '1'); error_reporting(E_ALL);

Applause?
No?

yay for me!

whats the difference between apache 1.3 and 2?

Nomikos. Will that show me whats happening?

What was that for? :-/

go Wolfpaws! that's 2 in like 10 minutes

And they typo didnt appear to fix my problem.

whats the differance between preg_replace and ereg_replace?

that will show you errors, right in the html. it's usually turned off on production servers, but I like it on when dev'ing

1) disobeying guidelines and 2) stupidity. Do it again and it'll be +b

int mt_rand ( [int min, int max] ) that means mt_rand returns an integer

____/____________\__________
____________________________
_____________________)______

what's more, it will show you warnings and notices, which are useful in debugging too

_______B_E_E_R______________

What does the manual says?

____________________________
________F_O_R_______________
____________________________
________Y_O_U_______________
____________________________

spanoony fails

_____________________)______

awh, now I missed the ending :-p

Bye

damn

the only problem is this site is live. i must becareful of what i display on the site.. im worried about debugging.

manual says they are pretty much the same

it was worth it. 3 in 10 minutes!

That's not what I read

.5000 ? or is that considered a string in php?

(lolcats?)

what did you read?

i have to say i dont really understand your code

me neither. it's not really my code..

!+g10

Guideline #10) We don't support script(s). We help you *write* PHP, not recommend or download and install/hack/modify/adapt/use pre-written scripts. Contact the authors of the script for support options they provide.

the for loop will return a value of .5000 or more roughly 50% of the time.

duh, just had to use a static variable!

http://pastebin.ca/626948 How do i make only the unique tags displaying, not duplicates

static…? Wahahahahaha!

if you're looking for a coinflip, why not just use mt_rand(0, 1) ?

DISTINCT

Nomikos because i need the numbers to show up an equal amount of times.

SELECT DISTINCT tags FROM table WHERE a=b

?

yes?
mt_rand() should return either equally often, on average?

i think this is very bad code

not that I've ever used it or anything, but that

what is the difference that you see?

and using mtrand(0,10 will not be equal. at least i dont think it will.

's the impression I get from the manual

The one that php.net/eregi says

sorry, not being useful… i know

if that won't be equal, multiplying and then dividing it by 10K won't be equal either, soooo…

which is?

well how can i get 2 values to randomly show an equal amount of times. is it even possibe? m

http://php.net/manual/en/ref.regex.php
"random" and "equal " don't fit together.

i guess there is no way to do it without storing it on the server somehow.
Wolfpaws, you're right it's impossible

(mt_rand(0, 1) ? 'foo' : 'bar') ?

I can't imagine, what kind of screwed up logic do you need

whats the differance between preg_replace and ereg_replace?

Did you read the link, that I've posted?

yup

actually you'd want .5 with that otherwise it would be hugely unequal

I read it before you posted it lol

I have to main pages that i want to alternate. I want every other user to see the same page. Maybe thats better? how would that be handled using php?

obviously I missed it if its there

to?two

i think they use different regular expression syntax

ereg uses POSIX, preg uses PCRE

Which means it should already answer your questions…

pcre is vastly superior to ereg, just forget ereg

k, thanks

see http://pastebin.com/d229dd925 , try it, it looks pretty random to me

Tip "PHP also supports regular expressions using a Perl-compatible syntax using the PCRE functions. Those functions support non-greedy matching, assertions, conditional subpatterns, and a number of other features not supported by the POSIX-extended regular expression syntax. "
"These regular expression functions are not binary-safe. The PCRE functions are."
But you already know that; You've read it already…

you mean now that they told me preg uses PCRE?

whats the diff between that an just using if (mtrand(0,1) %2) {xxx}else{yyy}?

not a helluvalot :-p
the code was just to show it's reasonably random

That's also written in the manuals

I gess what im looking to do is impossibl since its session based.

since mt_rand(0, 1)%2 will yield 0 or 1 anyway, you might as well do if (mt_rand(0, 1)) { ..
I seriously doubt sessions have anything to do with the random number generator

is there a way, in php, to save the value somewhere and make it so every other user sees the same page?
uis there a way, in php, to save the value somewhere and make it so every other user sees the same page?/u
1 0 1 0 1 0

memcache? database?

database i know. memcache i do not

You're looking for a global server side variable - but.. why??

is it wise? maybe tomuch resourse?

Will those users be calling eachother to check what page they saw
?

i want to know which page has the best success rate.

Both pages will be shown x/2 times, where x is the total number of page views

an the best way to see which is better is to show each page an equal amount of times
these are actually for shopping cart skins, for what it's worth.
i can see how many people made a purchase using skina versus skinb.

then make the choice what skin to show when they start their session, and store it in the session
where choice = coin flip

let tem to deside?

aim higher

That was my last change

higher; body-wise

yeah but I'm outta coins now

meh

currently what happens is as soon as they hit the cart it randomly selects skin a or b.

And out of ways that I can make the issue/solution any clearer

good
so?

skin a may show 10 times and skin b may show 40 times.
i need skin a to show 25 times and skin b to show 25 times.

Is there a way I can call a function and make sure that absolutetly nothing is written to the browser, until another function is called?

the higher the number of visites, the more the distribution will be 50/50

Why?

ob_start() seems to still allow var_dumps

because. it's business.

if 5 out of those 10 buy the product, and 10 out of the other 40, you also have an answer

Based on stupidity? That's not unheard of…

not a very good one on those numbers, mind you, but as good as you'd have gotten with a perfect 50/50 split

that is true as well. but im not tracking customers on that metric.

ever studied probability? the higher the number of toin tosses, the closer the mean will be to 0.5
ever studied probability? the higher the number of toin tosses, the closer the mean will be to 0.5
so in the end you will have equal views for skin a and skin b

toins…

this is true.

as we're toin tossing :-p

now if you want to be absolutely sure, the number of views will always be equal, just alternate, one time a, one time b

right now i can check which skin generates more money- which is great. I just wish i could see which skin keeps people around longer.
that is what i want. but how can i do it in php?

I'd say the first mattered more than the latter :-p

Nomikos; we're talking a lot of money here. so they both matter

then show both?

Ooooh.. I'm for hire, you know :-D

do you have a database…? add an entry somwhere… "showskin"
which will hold the skin that should be used next

i was thinking about a DB. that is the only way i would know how to do it. I just wonder if it will get to process heavy?

or no wait that doesnt work

what are you charging an hour?

oh now i'm correcting myself

sorry, can't advertise on here ;-) nah.. really, sit down and think it through a bit more

well have a counter in your database
one for each skin
and before loading the page, check which one is lower

if even load x if odd load y
oh, thats even better

if you're storing the session data in a table, you could do sessions.id%2 to give them a skin

i have a lot of busniess for people

altough clients are going to get a bit disoriented if every time they visit the site they get a different skin
so it's better to keep the same skin for the same client

most customers are not coming back. but if they have a problem i have 1800 numbers. they normally call anyways.
rolfen. this is true too!

most customers are not coming back? Taking about good buissness

man, this is getting way too complicated for me..

they might be selling houses, for all I know

with all due respect you have no idea what the business is. Kep the peanut gallery quiet.

You'd be surprised what I know about buissness.

you be suprised how little i care about what you know about business.

IRC 101…

Hey Guys, If $this-getData() returns an array. How can I echo an element of that array? Like echo ($this-getData())['id'];

stupidity wins?

no
no, set it to a var first

Nope. PHP doesn't allow that

Wolfpaws has a big internet dick. 101

There's no way to force it inline without reassigning it first?

"Don't piss off knowledgeable people who can kickban you"

g'bye
persistant

Hmmm.. I guess reassigning it works well enough.

PHP is the only language that I know of that doesn't support that…

I'm using a "sortorder" to rank items in a list. If I'm inserting a new item into the list, what is the best way to automatically pick a ranking? should I just add it at 9999 ?

if you need and can, you could rewrite the method to accept an optional parameter with the key to return

Grrr… Sheezy isn't up yet :|
That sounds workable… I used similar method for some customized lists
Ah, there we go…

hey Wolfpaws darlin

hai, liggy =3

is there a way to get the server byte ordering ?

no

so i have to write some data and read it

http://www.between-the-shadows.com/art/inuyasha-book.jpg

why some php pages appear correct and other firefox shows the dialog to download the php file?
running apache 2.2
ubuntu feisty
php5.2

clear FF's cache

get webdeveloper extension for FF so you can check the response headers

livehttpheader++

+s

heh
weird
but cleaning cache worked
thanks
why is that?

np
BEca8use it didn't worked before and FF cached the response from server

hmm
makes sense

Where should I put "–with-gettext[=DIR]" from http://no.php.net/gettext ?

When configuring PHP using the `configure' script.
You know, the configure script that generates the Makefile.

sorrym im on windows :P

when compiling php that is
you dont compile php on windows usually
it is possible though

I think you should already have gettext compiled for Windows.
It should be a matter of enabling the extension in your php.ini

yeah…
but how :/

heh

I have gettext for win32, so it is just enameling it in php.ini that is the problem
*enabeling
hmmm, gettext is an extension in php.ini..

you need to enable php_gettext.dll by uncommenting the corresponding line in php.ini

ok

lemme see…
ok find this line in php.ini :
;extension=php_gettext.dll
and remove the semicolumn at the beginning

It worked, thanks!

I have a problem.
about php error:Fatal error: Allowed memory size of
When I fetch a very big mysql query result, php will give me this error.
how will to do this?
thanks.

does anyone know a simple way to get make xml files display nice with php4? I basicllly have a mockup xml file that some nontechnical people want to view so I need a way that they can see each field is a better format, and one of the fields could possibly contain html so that needs to render
in the browser.

lumpa

can i match a range of numbers via pcre regex?

tias

my current solution is a bit awkward, i match all numbers in some strings and then loop through the matches and weed them out based on my range

Intelligent Design is a valid scientific theory!

Sure, you can match a range of numbers.

gn8

is a session variable name only available once? like if you set $_SESSION[foo] = bar; then someone else gets on and it sets $_SESSION[foo] = blah…will $_SESSION[foo] now be different to the person that set it to "bar"
am i confusing this with cookies o.o

The session ID is stored in a cookie, so it's unique per browser.

yeah but what about session variables?

When you start a session, you're creating a cookie on the client side that holds the session ID for the browser instance.
When you resume a session, it will resume the session identified by the ID stored in the cookie.

ok so my example is false?

heh, nevermind.


indeed well isn't a yes or no more simple than making yourself look like an asshole and wasting your time with more typing?
it was only a confirmation

I don't enjoy confirming something to someone who can't comprehend what's being confirmed.

you enjoy wasting your time, yes?

In fact, what I explained to you not only confirms to you what is happening, but also explains to you how it works
Oh, don't worry. I have plenty of time right now to spend as I wish.

so you are to arrogant to reply with a yes or no?
yes

Yep.

no

You're clever, aren't you?

you got issues.

…just not clever enough (could pose a problem in real life)

why do you say that?

Any suggestions you guys? http://www.linuxquestions.org/questions/showthread.php?p=2830134#post2830134

Hmmles. I'm looking for a nice PHP based webmail system that I can integrate with my site and postfix. it's a specific use case so there might not be anything. basically, I wanna run it so that emails will go to a group address that sends it to the currently logged in and active user - then
they reply using their email not the group one

any ideas?

code one?
;p

z4chh, indeed, but a base library or similar would be nice
z4chh, do you use SL at all ?

no.

lol - tis ok, only ever seen one person spell Zachh with two H's before and he's a friend in SL

last name starts with h
Zach H.
z4chh

ahhhh!

xD
two h's huh?

mmhmm

i usually just spell it "zak", three letter name..i like it o.o
i get what i can get on freenode though

exit

anyone here have experience with phpgroupware?

Nope

i was considering using phpgroupware. is it good?

I dunno

how would i make a value in a table display a bigger font when there is a specified number of the same vaules somewhere in the same table, but differnt rows
i know if() will work.. but how?

you'd have to go through it once and find any duplicates, store them, then when you're printing them back check them all against that

Heyo.
I have a set of variables called $rank1, $rank2, $rank3, etc.

If you are using SQL to get the data, use a GROUP BY

no no..

why won't echo eval("\$rank$j"); work if I'm using a for statement that makes $j 1, 2, and 3?

tags around it IF it has say.. 5 entires in the table

use echo ${'rank'.$j};
but you should be using an array for this

You need to read up on variable variables

I can't use an array, it's from a POST

also the eval would have to return the value, not just have it

thanks, TehSausage

Nice to see have the "Save" option working now.

yey!
it workses
now to add other features

you can dowload it freely http://www.softnepenthe.com/applications/XML.zip if you are interested in the backed

does anyne know a PHP script that can handle mail from the STDIN

LoL,I was actually just typing "Will you be making the source of that available?"
"mail from the STDIN"?

[RainMkr]: it wouldnt take "much" to modify, but as i havent added any comments atm it my be initially perplexing
console mail i guess [RainMkr]

[RainMkr], so I can get an email, pipe it through a .forward (or similar) to my PHP script which then processes it

$stdin = fopen("php://stdin");

TehSausage, I know how to read STDIN

you dont need to do that, TehSausage

I just thought there might be some nice class that formats it up into a nice class

hi. i'm switching from Xdebug2 to ZendDebugger for php debugging. can anyone here verify that ZDbg can be used with / installed into my *own* server, or only with Zend's 'platform' ?

then wheres the problem?

[RainMkr], I know… if only i knew how to make perl interface with SQL

lazy just kicking in?

DBI/DBD

[RainMkr], that requires releanring how to use that stuff

use STDIN

Oh no! _Learning_ something!

fread(STDIN, 10); etc.

and TehSausage no not lazy… but … I have a thing where I prefer not to duplicate effort
[RainMkr], relearning something that gives me headaches

of course, [RainMkr], that app isnt finished: no real validation on the input and no deletion functionality. i am aiming to make it generic so any xml file can be used

thanks all for pointing me to mailparse

I still dislike OO but I give your code an A+ for readability.

http://www.nomorepasting.com/getpaste.php?pasteid=1615 - keeps on saying something is wrong with line 3

[RainMkr]: its called professionalism … and note, it isnt finished

dErFF, what does it say is wrong?

can you put if() in for_each()?
foreach*

no semicolon dErFF?
yes, Sashi

ohhh

can you put a box in a bigger box?

ya
i think no semi

ah well … tchu§!

tags around a column 'foo' and if there are more than 5 entries of the same value 'foo'.. if not.. then yea

ill help you with anyother tag
html = structure, css=style
i didnt think anyone was still using font

ANyone know of anything functions that will do the same as curl_exec?

ThinkMedical, any ideas?

Sashi echo 'a href="tag.php?tag=', $b, '" style="font-size:14px"', $b, '/a';

no no

whats the best way to get the current time?

about the code.. it doesnt work

argh @ my PHP

or better class="tagLink" with a em size

also i will be inserting that into a db, and echoing it out

why the hell is there no mbfilter.h

it always shows a big font regardless of how many entries there is

whats wrong with it Sashi?
even if there are 4 Sashi?

yep
i even put 99
still big tags

5 will give you big

99 isnt going to change it…

5 = mroe than 5

is there a way to make php error when i call a var in an object that does not exist ?

i only have like 10 entries/records/rows

if(!isset($myObjec)) throw new Exception('Object not set!'); tekdek
else { echo $myObject-var; }

it SHOULD work shouldnt it

it will go to the else if num_records 5 Sashi

i was thinking more like a php debugging setting

though that is a terrible way of doing it

but there are only one record that has the same values in column 'foo'

put the if inside the foreach Sashi

but that is kinda what i had in mind

trigger_error tekdek

php.ini?

no function, tekdek
http://www.php.net/trigger_error

thanks… checking it out now

ThinkMedical, http://pastebin.ca/627085
like that?

yes
well….
do $numRows = mysql_num_rows($result); outside the loop then check against $numRows

i'm compiling php on my own and got a problem here… i just can't imagettftext() get to work, it's not available, althow i'm sure that my configure-parameters are just fine
./configure –enable-bcmath –enable-pdo –enable-calendar –enable-ctype –enable-exif –enable-gd-native-ttf –enable-inline-optimization –enable-mbstring –enable-mbregex –enable-memory-limit –enable-simplexml –enable-zip –enable-gd-jis-conv –disable-sockets –disable-cgi
–disable-debug –disable-cli –disable-ftp –disable-safe-mode –datadir=/usr/share/php –prefix=/usr/share –sysconfdir=/etc –libdir=/usr/share –includedir

=/usr/include –with-pdo-pgsql –with-pdo-mysql –with-mhash –with-dom –with-iconv –with-gmp –with-gettext –with-xml –with-gd –enable-gd-native-ttf –with-imagick –with-apxs2=/usr/bin/apxs2 –with-zlib –with-config-file-path=/etc/php/ –with-bz2=/usr/lib/ –with-mysql=/usr/lib/
–with-pgsql –with-jpeg-dir=/usr/lib/ –with-png-dir=/usr/lib/ –with-mcrypt –with-mysqli –with-ttf –with-t1lib –with-xpm –with-freetype –with-

freetype2 –with-tff –with-tiff –without-pdo-sqlite –without-openssl –without-imap –without-pear –without-sqlite
uhm

do you have the lib file uncommented XrMb2

well, these are my parameters

pastebin

sry, i didn't mean to flood the channel
configure tells me the following:
checking for FreeType 1.x support… yes and checking for FreeType 2… no
so 1. why is freetype2 disabled? and 2. which lib-file do you mean?

the gd lib in your .ini

well, i'm not sure
;extension=php_gd2.dll - (if that is really gd-related, however: it's for windows)
and gd.jpeg_ignore_warning = 0
nothing more
the system is debian linux, usually i'd install php5-gd, but i'm compiling this here on my own, APT is not involved in any way
should i manually add any gd-related line? if so, which?

when is header information sent out o.o

at the very start of a page request z4chh

when? it's the first information arriving the client, right after the request-headers
any idea? :/

have you looked at http://php.net/gd XrMb2?

yes, of course

i am about to go, so i cant really get into a case-by-case debug session, sorry

i just wonder why other functions are available, for example imagepng, imagedestroy, ImageColorAllocate and so on, but not imagettftext()
just any idea? i really need this function

ThinkMedical, still wont show values that have less than 4 a small/normal font

does php care where something is in the file? like includes and classes?

the column 'foo' contains more than 1 word if that helps ThinkMedical

something wrong with the freetype library then XrMb2

hm :/

what z4chh?

maybe it's solved, when freetype2 was available

pastbin Sashi?

err

but i still don't understand, why it is not, configure still shows freetype2 … no

have you d/l freetype2 from their website?

in a file can you call a class before you define it?

no, z4chh

ThinkMedical, http://pastebin.ca/627102

no, i did not. u just installed the libs with APT, but i guess, that this is enough, isn't it? i believe, that php would tell me, that something is wrong, instead it disables freetype2

part Sashi

hmm, XrMb2

?
o

your problem is that the if condition is always true Sashi?

yea its always true

do you mean numRows or num tags?

hmm?

8) { } ?

hmm i have a problem with my login system..my form goes to my login script..that varies and sets everything for the user..but when i try to redirect..i get a headers sent out already error

are you using sessions?

yes o.o
err

sessions send headers out… you cant send new headers after theyve been sent

ThinkMedical ?

http://at2.php.net/manual/de/function.imagettftext.php#61227
i'll try that now

echo 'script language="javascript"window.location = "', $location ,'"/script'; z4chh
either that or output buffering
no you dont, Sashi

$value) //only use the latter if you *need* the $key

did you mean count($tags) Sashi?

i think yea

okay.. well goodnight

it seems my header info was sent out by blank lines at the end of a php module file..

I have a site that I'm trying to build for work. I need to take an entry by the user (an ip in this case) and flip it around. So say if they enter 127.0.0.1 I would output 1.0.0.127 Can anyone point me in the right direction this? Google has been no help.

flip it huh ;p
regex

explode('.',$ip); $ip = array_reverse($ip); implode('.',$ip);

or that
xD

bah, prefix them all with $ip =

Thanks TehSausage, I will see what I can do with that.

nice job TehSausage
i am curious, why?

I work for a domain registrar/hosting company. We need something that we can do dns traversals with. Unfortunately no one will step up to the job and dnsstuff is tired of companies leeching their bandwidth.

damn
that didn't help

As much as we love dnsstuff.com and would not paying for accounts it's not ecumenical to pay for one for everyone or even one single account and make everyone use it.
*not mind paying

i see.,

If I have an array ('a','b','f','g','x') - whats the best way to get array['a']['b']['f]['g] = 'x'?
I'm sure I've done it before with difficulty, but I can't find the code that I made then.

o_o

etc

Yeah, that's what I'm after

very multi dimensional array that is ;p

The last element of the initial array becomes the value of a nested associative arrays

TehSausage, http://pastebin.ca/627125 how do i make it so that if there are more than 3 of the same values in a column 'foo' in the table, itll be big, otherwise small
row foo has bar & foo in the column, then row bar has bar in the column, then foofoo has bar & foo in the column, then it will display a big tag, since there is three 'foo' entries in the column

$a = array('a','b','c','d'); $b=array(); $c = $b; foreach($a as $a_one) { $b[$a_one] = array(); $b = $b[$a_one]; }; $c['a']['b']['c']['d']['e'] = 'x';

i told you, iterate once with a counter, store the ones over 3 then check it when you're outputting it

scratch the last e in that array

The number elements in $a will be variable.
Oh, hang on.

that shouldnt matter, except for placing the element on

Yeah… But I don't want to clobber the existing vars…

$a will be left in tact

No, not a.. $c will already have data in it. Possibly $c['a']['b']['f'] might already be defined.
I have a way using eval() I think that will be easiest and best.

huh? $c is just some random variable I defined myself

Yeah… But I'm adding these to an exsiting array.

you just need to set $b as the outermost element in the existing array then

Basically walking through $_POST and turning 'this/that/the/other == a' and 'this/that/the/more == b' into $array['this']['that]['the']['other'] == 'a' and $array['this']['that']['the']['more'] == 'b'

Okay this is confusing me. Today I wrote a page and this worked: if (preg_match("{^\b((25[0-5]|2[0-4]\d|[01]\d\d|\d?\d)\.){3}(25[0-5]|2[0-4]\d|[01]\d\d|\d?\d)\b$}", $IPAddr)) Now when I try it in a different page doing almost exactly the same thing it won't work. *sigh*
Anyone see anything wrong with that check in general?

http://pastebin.ca/627133 how do i make it so that it searchs the 'foo' column and checks if there are no dups and then displays it, regardless of its order
foo entry has foo, bar, foobar in the column, bar entry has foobar, foo, bar, it will still only display foo, bar, foobar

What exactly would this statement be checking for? elseif (mail($email,$subject,$message)) { thanks

if mail had a email, subject, and message parameter? dunno

yea
depends on the if ( )
:P

lol

spam.. got any solution for my problem?

original if was a (!preg_match….
I'm trying to figure out how this script actually sends the mail. That line I pasted is the closest I can find, but it's in an if statement…wouldn't actually do anything would it?

now this is annoying
i still can't get freetype to work
and i tried a lot within the last few hours

mediate on the issue
err typo

http://pastebin.ca/627125 how can i make it so that if there are more or equal to 3 of the same entries in the 'foo' column it will display a big font?
row foo has bar & foo in the column, then row bar has bar in the column, then foofoo has bar & foo in the column, then it will display a big font, since there is three 'foo' entries in the column

php-bot whoami
hey it said this is a pg room no proding

WOW
I GOT FREETYPE-SUPPORT!!!

hi

hahahah
imagettftext works!!!

guys do know where i can find a javascript that would pull down an input box when clicking the url
??

i have a problem with apache2 and php5 on my debian sarge

semprix, that is related to PHP - how?

i can't access on my web page mediatheque.php5

lol
maybe you guys know

semprix, wrong channel #javascript

Unable to load dynamic library '/usr/lib/php5/20041030/msql.so' - /usr/lib/php5/20041030/msql.so: cannot open shared object file: No such file or directory in Unknown on line 0, referer: http://yoo.dyndns.org/mediatheque.php5
my /usr/lib/php5/20041030/msql.so exist
/usr/lib/php5.0/20041030/msql.so but exist also
extension_dir = "/usr/local/lib/php5.0/20041030:/usr/local/lib/php5/20041030:/usr/local/li
b/php:/usr/lib/php5.0/20041030:/usr/lib/php5/20041030"
in php.ini
Somebody can help me ,

can you use a pastebin instead of dumping into the channel?
make sure that the apache user (or whatever user you're running PHP as) can access the .so files, if it cant then try doing a "make clean" then re-building and re-installing PHP
bmake sure that the apache user (or whatever user you're running PHP as) can access the .so files, if it cant then try doing a "make clean" then re-building and re-installing PHP/b

if($bored)…

meow

hi, how can i insert an empty row?

into a database?

If it's empty, how would you know it's a row?

on a php page

what sort of row?

text

in a table?

i need a row between them

stick the text in … tags

let's pretend that i have a session-var, for example: $_SESSION['foo']

guys how do i rewrite this to php ? http://pastebin.ca/627200

now i assign $_SESSION['foo'] = "bar"; and include that information into a file where it's beeing printed. result: bar

it separated the table

then just include td style="padding-bottom:1em"

now when this file is a .php-file, which sets it's headers as an image, so that i can call the file with img src="thefile.php" /
…then the session-var is not valid any more?! and i just don't know why

you're making it up, a http request is a http request.

http://pastebin.ca/627125 how can i make it so that if there are more or equal to 3 of the same entries in the 'foo' column it will display a big font?
row foo has bar & foo in the column, then row bar has bar in the column, then foofoo has bar & foo in the column, then it will display a big font, since there is three 'foo' entries in the column

as far as i realized this happens, because i called the file in the img-tag

perhaps you forgot to start the session in thefile.php

so?
the session is overall started

being in an img tag doesn't matter

do you have gd installed

because you can easily request thefile.php directly

but it seems to do :/

f00li5h, got any idea?

yeah, you should have used a seperate row for each tag

O.o?

each different tag is inserted into it's own row

well im tagging a file
and a file has multiple tags

foos; author: f00li5h) — (tag: foo) (tag: popular) (tag: foods)
where each "tupple" in brackets indicates a row in a table

what? lol..

each of the rows on the right contains a document_id or something

you can't use multiple rows for a single id
can you?

tupple is usually spelled with one 'p'

f00li5h, any idea?

ahm, wait
so i need to session_start in thefile.php ?

i missed your question

althow the session was started yet before

yes.

in another script

i want to embed this javascript http://pastebin.ca/627200

noted.

f00li5h, i dont follow..

i don't do javascript
one second

quotes are needed on those statements how do i rewrite this to php?

You need to call session_start() in every page that wants to use $_SESSION

semprix, ask in #javascript

Sashi, its not javascript problem its a php. how do i deal with the quotes

you want to echo them?

you should have a includes/common.php file that's included by every script that does things like starting the session, connection database etc

!tell semprix about strings

yeah

Go read the page php-bot just sent you

if I have a form and it submits a file how do I access that file as a string in my php script?

php.net/features.file-upload

okay, thanks. that was the error, i thought that session_start is required only ONCE overall, from the time the browser visited the site

f00li5h?

http://sial.org/pbot/26412.
s/[.]$//

thank you guys, i just made my own captcha

have you got a version for users that can't view images?

what do you mean..?

$_FILES

a simple captcha with e.g. arithmetics?

do you have a way to verify a user is human when they can't display images?
because otherwise you're saying that blind people aren't human
and people that use text only browsers aren't human

well, not yet

maybe it's a pr0n site? :P

what's your suggestion, how shall i solve that?

hey, blind people can still enjoy the alt texts
you could do it with sound, or with a "what is ten plus five?" type thing

Linux users arent human…. resistance is futile

f00li5h, that is just an array right, so i need to upload it then open it in the tmp dir right? is there anyway to just get a string with out putting the file in a tmp dir

hahah

read the docs for $_FILE

ahm, yes, but then my img-captcha would be pretty useless

I like kitten captcha.. It says is this a kitten.

unless that audio-thing is a solution

jameswf-home: "would you paw at a ball of yarn?"

depends… does it smell like bacon

php.net/manual/en/reserved.variables.php

f00li5h, i saw that, so looks like a no i can't just access it as a string using $_FILE

hey, i'd be a good solution to put the captcha-text into the alt-tag

move_uploaded_file

then the bots will read the alt

jameswf-home: what do you mean?

yes man, that's the joke about it

how can i match a range of numbers via pcre regex?

use and , regular expressions are terrible at doing numbers
^

anyone know how I can +/- hours to fix a date("m-d-Y") from PST to EST

that's what i assumed, but kuja said it's possible

why not file_get_contents the uploaded file and there's your string?

right now

yeah, it's possilbe, but the regex is far more convoluted than it would be if you just snagged the digits and used and

alright, thanks. i'll keep it as is.

is it… date_default_timezone_set('EST') ?

what do the docs say about it?

my server is PST, I need it to submit as EST

http://www.modwest.com/help/kb5-258.html

should be simple, no?

Parameters timezone_identifier The timezone identifier, like UTC or Europe/Lisbon. The list of valid identifiers is available in the Appendix J, List of Supported Timezones.
php.net/date_default_timezone_set

does anyones LCD monitors shoot out infra red signals?

k thanks

well, not that i've noticed

i was debugging an irda program on my psp, and every time i pointed it to my monitor i got a bunch of garbage

that could be true for any source of light/heat though

preg_match("{^\b((25[0-5]|2[0-4]\d|[01]\d\d|\d?\d)\.){3}(25[0-5]|2[0-4]\d|[01]\d\d|\d?\d)\b$}", $IPAddr) to validate an ip address a user enters. Anyone see any reason why it constantly returns false?

kinda weird that it's blasting them into my eyes though XD

yes, because regular expressions are terrible at checking ranges
^

But they're oh-so-delicious.

with far less effort

not for numeric data they're not

just explode at . check count for 4 and then check each octet for 0-255 :P
just explode at . check count for 4 and then check each octet for 0-255 :P

not working out . What i have is something like this, an order form NAME: followed by a box where to put a value. I would like to put the box bellow the NAME:

use http://paste.css-standards.org and paste your html

input … id="foods", so that your labels are actually associated with your text fields

hey

meow

anyone here ever use phpOnline ?
also what percent of people do you think have flash installed ? :P

no, about 70-80%

hmmmmm

don't rely on flash being installed.

i wonder if its safe to assume that most have it installed
well its just a live support software
it uses flash

what if their support query is "i can't make flash install"

heh

just have it fallback to a "contact us" html form

i might not use it
but i a looking for a live support software that does NOT poll

how else can it work, i mean, that's the nature of http

theres many ways my friend

http://paste.css-standards.org/19956

=\ why did you pastebin a url, rofl

what?

f00li5h, theres many ways ot have continous connection

what's the problem with that html again?

http://paste.css-standards.org/19957

yeah, until apache times out your request

he wanted to put a linebreak between the label and textbox i think

i want to place the tables under the text

the fields?

yeap

is it worth it to learn vi?

tables are not for layout
yes

How do I set the timezone in the php.ini file?

f00li5h, it really helps for coding?

remove the table, and just stick a after the text
well, it helps me

I am trying to figure out why php isn't working, all it does is display the code, I looked at my error logs and nothing is in it and I have APACHE2_OPTS=" -D DEFAULT_VHOST -D PHP5" in the apache config file

f00li5h, for one flash has sockets

oh, so you're going to have a socket listening on your webserver?

you cna usee javascript with flash use flash as the network side
you dont know how a live support system works huh ?

f00li5h, does it have syntax highlighting?

or is your socket just going to end up making http requests
don't patronise me

no

my question is, do you intend to have a socket listening, on the webserver, to be the other end of this magical flash-socket system

theirs ways ot have real connections

use irc, jeez

How do I set the timezone in the php.ini file?

"remove the table" ?

set it on your webserver, export TZ=Country/City
remove it

date.timezone = Australia/Adelaide

get rid of it, delete all the table-related markup

Set it in apache?

TehSausage speaks wisdom on this

i hate the new timezone formats, what was wrong with +9.5

No tables for layout: http://xrl.us/kd35
DST for one

yeah, that was a problem for me alot, rofl
everything was always an hour behind

Thank you!
It works.

works thanks

also, read this. No tables for layout: http://xrl.us/kd35

how do I track down the reason why apache isn't running php? I already checked apaches logs and php works fine from the command line

f00li5h
thanks
hehe
but one problem..
how would i make an insert script.. to insert foo, foo1 into the main table, but insert the tag into the other table?

a bit problematic because if i remove the table originaly the page has a blue background, the table keeps it white

make a stylesheet to make it white, or make the div white
i remember the time i asked "i need x/0 to work"
wonder if the post is still on there forums
show's how far i've come in 2 or 3 years

just stick a div arround it

*
To prove that you're not a bot, enter this code
Anti-Spam Image

Comments are closed.


Blog Tags:

Similar posts: