Domain Search | www.


Related Pages:

1 Displaying news from all categories with settings only 1 important setting disable comments of one category
Alright so if I wanted to move a ton of variables into a config file and use them throughout another PHP file
Need some opinions here I am starting to realize that i am spending way to much time developing little things







s/\.com/\.net/

Which template system is better? Smarty or OPT?

how?

read a bit, follow the examples, come on its not hard
gotta work
bye

sending stuff to an .ini file?

yep

Can you explain that? You mean storing the values into .ini file?

ok. I was missing the last 1. tx! I'll try it.

yes, he'll want to replace settings
values, even

There is a PEAR library to do that

does anyone here use codeigniter and know how I can make a "shortcut" function like load_view('home'); that loads header and footer views before and after?

!+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.
bGuideline #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./b

ow
oh there is a #codeigniter.

My 8yo niece commends your efforts

Can I create an object declared in WSDL using a function from SoapClient?
Say that Object1 is declared in WSDL
Is there a way that I can create a shell object of type Object1?

I always just created the object manually
wait we're talking client
i dunno :p

Hello

sorry, wrong close button

I'm not sure if this is the right place to ask this. Let's start with the most basic way I can phrase this question. Is it possible to use php web hosting to "translate" or "mask" a URL?

so there is no function with SoapClient to create a shell object of a WSDL defined object?

For example, if the actual link to a file were http://me.ath.cx/file.rar
Would it be possible for me to direct to it from http://www.me.net/download.php?server=homeserver?file=/file.rar

no. Use mod_rewrite

Or something to that extent?

You might be able to do it via the classmap option to the SoapClient constructor.

I've written a website in PHP

Any good freenode rooms to disucss that?

and i dont have anything for cookies setup
if i use start_session();

lol, will it blend put an iphone in

and then clear my cookies... some how i loose my session

#apache, perhaps?

session_start defaulty uses cookies, is there anyway i can disable this?

anyone know a url for paste images? upload images?

News can have assigned more than 1 tag. How to save them in database? It should be easy to all display news of selected tag? Saving them in a cell like: "computer www http" and using LIKE "% www %"?

it's working. for now!... :-) hehe! tx!

soembody around can guide to check if a string passed as argument is a valid file name ?
it could not exist so file_exists is not good

check session.use_cookies in php.ini

Wha? What the heck do you want?

hehe

If you're checking for filename validation, why is file_exists wrong?

just have a tags table which will hold every tag in a new row

well, at job they tell me a lot of times to write tested functions. in this case I am doing a php script to write a sql script for creating tables. i want my script takes the name of the future sql host script by parameter. if file_exists, prompt the user to inform the file will be recreated and allow him/her to abort. if the argument is other shit than a valid file name, log the error and exit.
Usage:
php create_consolidate_location_tables.php file
Where

is the desired file name for the SQL script that will create consolidation tables

!+g6

Guideline #6) Don't flood/paste. = 3 lines constitutes a flood and you will be punished. This is your warning. /msg php-bot pastebin. Also /msg php-bot enter

if ( !file_exists( $foo ) ) { echo 'Oh no, error'; }

whats wrong with file_exists?

how do i turn off strict standards messages?

if the file doesn't exist, the script create a new one

so use file_exists()

in php.ini

isn't that the point of file_exists? to see if the file exists?

by fixing them,

yes, AlexC_ comment is better

hello, i was wondering if while a script is running i'm able to reverse an include().. what i mean i'm running a sockets server and by issuing a command i include a file, is there a way to uninclude it ?

AlexC_ i knew someone would say that...not my application, im just trying to profile it -- it was dev on php4
amimusa what directive in the ini?

error_reporting( E_ALL ); then

find the log section

Fix the errors

but like we've said - fix them

you will see the doc help, i don't remember the right syntax
yes, fix them, it will be worst after

*worse

worse after fixing them??

i advice you don't show errors in browser but use a log file and check it while you test your coe and fix all errors

since most of them are in pear DB (yeah i know), id rather not

if he doesn't fix
or she

display errors is good for development, not for production

he

sorry my internet connection died, but yes write to ann .ini file

so.. any ideas on an uninclude function ?

you can't

Pretty sure it can't be done.

unless you put php web hosting in reverse

is there any way to only enable E_STRICT errors on specific files or directories?

error_reporting( E_ALL | E_STRICT );

how would you go about sending form varibles to an .ini fille

on the file you want, though - if that includes any other file - they will have that error reporting as well

in .htaccess: php_value error_reporting "E_ALL | E_STRICT"

so i said don't show errors, but use the log

fwrite();

i probably could save the script`s state before an include and revert to that state at an uninclude ( but that`s problematic if i want to uninclude a file in the included stack ) .. hmm

but it errors on all of the PEAR library stuff then, i only want it to error on my own bugs

error_log('message', 3, 'filename.log')

you could use parse_ini_file() to get all of the settings in the ini file - then loop the array you get back and replace the correct values - then, write the entire file back

Instead of having just the one process and trying to futz with its state, fork a new child that dies when you want to "uninclude"

what was that url said before about this?

yay

I have no idea,

netsplit?

php.net/parse_ini_file

Or, better yet, use a language that fits your problem domain better. PHP isn't the best web hosting language to write daemons in.

Muisje:
no, internet exploded

lol

TML yeah.. that`s what i was thinking right now.. use a main process and slave daemons for the loaded modules

thanks

you said - table - but i asked about assigning these tags to news

TML well i could do it in c# but that supergues me to windoze.. and i dont want that

No it doesn't
go-mono.org

you've gotta do some work to man, if I say use parse_ini_file() that normally means using the function parse_ini_file - so, to get info on that function go to php.net/my_function_name

TML mono supports CLI apps ?

C# is an officially open standard and is supported by many platforms.

I run C# on Linux quite often

sorry

wow cool

then have and itemID column - so you could do SELECT * FROM `tags` WHERE `itemID` = '$newsID' " );

back to coding then ^^

i continue with my matter in fact what i need to test is if a string is a valid file name, is there any function? I mean, not start by number, not allow certain spceial chars,... the same test any system performs when a file has to be created

file_exists() !!!
file_exists( 'sdfggddghjgfdghfddgh""4£$^$^&*%^%%^%^%$&%^&%^$' ); will most probably return false

but if file_exists('thanks.txt') will return false if it doesn't exist, and i want to create it

amimusa then just use fopen('filename');

if ( !file_exists( 'thanks.txt' ) ) { touch( 'thanks.txt' ); }

i am not explaining myself

:-??

yes, you are - you have trouble understading, that is all
if the file does not exist, you want it creating, correct?

hi, how could i make script, i have list of rules, and those rules have id and some other variable for example 'something', inside rules taged 'sometimes' are different id 5, 8, 15. How could i do function that would switch rules id, if you click sth up, or down, so that would replace 5 with 8, or 8 with 15 ?

imagine there is no file called thanks.txt, if i use file_exists it will tell me not exist, right, i will create,... right that i agree

that fopen() will error, you're missing a mode.

then the code I just said will work

but now the parameter is 6786polr.txt that is not a valid filename, how can i detect it ?

by doing file_exists()

caffinated yep i know it will error

hahahaha
ok, i wam trying with file_exists

btw, 6786polr.txt is a valid file name

but i thought file_exists tell you if a file exists or not, if the file doesn't exist i will create so what i need is a valid filename
ok so take @jkjwe

man, your logic is bad

@jkjwe is not a valid filename
or is it

so if this value is passed by paramter to my script i want to detect
anyway is not too important

if a string is not a valid file name for the OS - then that file can not exist, can it?
so, by doing file_exists() it will return false

if ( !file_exists( 'thanks.txt' ) ) { touch( 'thanks.txt' ); }

how do you use file_put_contents() (php.net/file_put_contents was no help at all)

but you can use a bad string as filename in file_puts_content

hi there, is it possible to see what variables are defined ? like dir() in python

or at least file_put_content will raise an error

then check for the error

and i don't want file_put_content raise an error due to the file name, i want to detect before

why don't you? just check when you do it

hi, how could i make script, i have list of rules, and those rules have id and some other variable for example 'something', inside rules taged 'sometimes' are different id 5, 8, 15. How could i do function that would switch rules id, if you click sth up, or down, so that would replace 5 with 8, or 8 with 15 ? Any glue?

EvilDin you`ll need to explain a little more about what you`re trying to do

or at lease filter the name so you know it will be valid

that is what i am lookign for !!!!! a filter for the string
finally !!!
how can i filter ?
heeh

$file_name = preg_replace( '[^A-Za-z0-9_\- ]', '', $string ); .... you never, once said that

Xyzu file_put_contents($filename,$data);

yeah

i said i were not explaining myself

thankyou

have you ever see list of news in tables

Xyzu np

you could just do regex or check if characters you don't want are in there

ah, 'not explaining my self' often makes people think 'filter data'

LOL

hahahaha

i have more diffrent types, categories of news, and i want to change order inside of one category

i knew 'cos your answer are not what i am lookign for
so soemthing was wrong in my question

you mean you have a mysql table ? that has X columns ( id , text , whatever ) and you want to sort the output a different way ?

finally, can i do a prompt with php ?

no,
PHP is client side,
server side I mean

no interactive scripts ?
i run my php in the server

php -a

greatings

morning,

good afternoon

look at javascript

amimusa you need to use $_POST / $_GET variables for input data ( but you`ll need an html form for the input )

is it possible to list or defined variables?

i mean something as prompt("the file exists, continue?")

yes

could I do: file_put_contents("connectconfig.ini.php", $var);
or something

you don't need that

good to know

http://pear.php.net/package/Config

if the file exists i want to prevent the usr before delete and create again

go to pastebin.ca (or other pastebin website) and post the contents of your script then give us the link to it
Xyzu yes you can do that

ty

if ( file_exists( $file ) ) { // Do something other than deleting it }

You have to write your own 'prompt'. php.net/cli

??

doing ?? all the time does not help us to help you

file_put_contents("connectconfig.ini.php", $var, FILE_APPEND);

well, um, ok

http://pastebin.ca/614533
here are mysql queris

Go read

I want to make a new file and put that in there

but i need somekind new function to move rules id inside subdomain category up and down

ok

Xyzu if you`re making a new file you'll need to use touch($filename); then the file_put_contents function

mickyL thank you

no, not really.

Wolfpaws it creates it automaticly ?

yes, yes it does

EvilDin how do you want to order the results ?

is this possible? touch("includes/connectconfig.php");

Xyzu no need for the touch function as Wolfpaws stated.. you can use file_put_contents("includes/connectconfig.php",$file_data);

Werent you talking about reading / writing an .ini file?

yeah but the user must have permissions to write in that dir

I had no idea what you where talking about, ty

how to use $_SERVER['HTTP_REFERER'], if the site opened before http://hostname/test.php?'etc'?

Xyzu stick around this chann and you`ll know the next time

anyone ehre speak spansih?

blishton the referrer data will only be there if you get to that page by clicking a link on another page

referer is not to be trusted

*here

now are order by id, but i want to make interface that the order can be changed if whatever user like, and i don't know how to do that

!+es

Para los usuarios PHP de habla hispana que requieren la ayuda, ensamble por favor el canal del #php-es

!+es ???

me llamo xyzu

so what must I use?

That'd depend what you want.
+on

I was talking about reading writing .ini files

function getRules($type, $sub_domain, 'field_name') ) where field_name represents the field you want to sort by

I want to make sure that user follow the page procedures

Hello people. I'm having a problem and I can't solve it. Check it out there: http://pastebin.ca/614549

USe session

is it the best way?

Lukemob you`ll probably need to chown your files

micky, what's a command?

Lukemob chown

there has to be some function to list defined variables

Yes, but whole command?

i think used it

no i still want that is sorted by id, i just want to switch idis between which ones i want to change order

Go read the manuals

Lukemob i would do a chown -R apacheuser:myuser /var/www/web6/web/admin/ ( where apacheuser = the apache user & myuser = my user ) but if you do this any user in the system might be able to read your scripts.. so i dont recommend it
Lukemob or vice versa myuser:apacheuser
Lukemob in any case i think suexec is active on your installation and you need to set permissions on the files

Suexec isn't on.

hello, i got a php script that generates a captcha image (it doesn't write it to hdd, just displays it using header content type png). how can i output that image in a smarty template ?

what character is at the end of a line in a .csv ? '/n' ?

#smarty

whois me pls

?

neverblue \n .. ( /n does not exist )

ops

##php #smarty ...

bad keyboard

Probably \r\n on windows, \n on *nix

sure it does. But it's not a newline character
!+g8

#sql, #mysql or #postgresql. Apache Q's: #apache. Linux Q's: Either #yourdistro, #linuxhelp or #linpeople. HTML/CSS/JavaScript Q's: #web. Just because some other channel is 'dead' does NOT mean you can ask here.

micky, suexec isn't on.

how can I make an existing mysql blob into stream data ? same as fopen($file, 'r')

You should use fgetcsv, anyways

Lukemob hmm not really sure what you should do

Wolfpaws, wrote my own

why do you have blob data in your SQL server?
Why?

thats none of your business really

micky, maybe I should install it? ;D

Wolfpaws, problem is, how to get it out

My primary question remains

why not?

Lukemob it is most deffinetly a permissions error so i would play with chown and chmod ( in a linux shell )

i have sql with hundred thousands of short mp3 files

!+store binary data in to rdbms
!+store binary data into rdbms

why fucking not?

rawr

it's faaaaast

Watch the language
!+store binary data in rdbms

1) The filesystem is faster/better at storing binary data; 2) Don't have to carry the blob data in PHP to get it to the user saves CPU and memory; 3) Seperate the webhost and the dbhost, moving blobs back and forth over a database connection is going to be expensive in computation and bandwidth; there's more, they just don't fit here.

pheeror, probably not as fast as storing them in the filesystem

^-- now go read

maybe i could use some fancy filesystem like xfs(?)

okey, thx.

Wolfpaws, supposed to be easy with several servers, can be handy to have it stored in the db.

no i don't try it
on ext3 it was very slow

rhalff, they are more like a backup, the original files are still on disk

how do I make php echo code on a new line?

to ask for one file where there was 100k files in one directory

...

Xyzu echo "\n";

That's why you should use a proper directory structure

pheeror, i did some benchmarks (on windows tbh) with 2500+ image files in the same directory and the filesystem was faster

Wolfpaws, ok, but I have them in the db, and I want them out, problem is I need them stream, same what happens when I do fopen(file, 'r')

now, try it with 100 000 ....
that's why i use db instead of creating any *pseudo* structures just to be cool and don't use db for binary data

Whoever said anything about any "pseudo" structures?

but it can works fine with some filesystems

Has anyone ever experienced IE not rendering css on random requests? when the css file has an extension of .php,. but i am sending the text/css header

You want to echo the data?

jonwage, haven't found that problem but if it persists you could use mod_rewrite so it has a .css extension

No, but I've never named my CSS files as .php

or echo "\

I give them .php so they are executed as php files so I can have php in my css

Wolfpaws, no I want to send them to amazone s3, the example class uses fopen to stream it there, all I have is a blob, and complains I'm not feeding it a stream.

it's 100k files of same kind, on same "logical layer" ....

or echo "\r\n" for windows

tyu

yeah, i could sort it by \w/\w/\w/[rest] but no reason to do it

why do you have PHP in your CSS?

Because the css is dynamic

Sort files? How are you sorting the files in DB? By content?

an excellent non-answer...do you hold some form of public office?

hello all! Id like to have one question haha. I am gonna build up something useful for once, user can select color for bike frame, for bike pedals and so on, in RGB! So user could like insert #094283 for bicycle frame and when he hits refresh, bam its idk what it is in rgb but yeh that color, so i think this affects GD right? Any better ideas or someone would tell me how i would exactly do it? As far i dont have much ideas

you could include the CSS in the header using php include() instead of linking to it...

rawr. I should look into mod_throttle

sort ... i thought i could make something like a/a/nastazie f/o/obar ... btw i get it by id (unique index)

that is one way, but I want it to be a link so that it can be cached

how would I make an image uploader?

it is a lot of css

think "links to the actual files in DB"

aa^way: php.net/imagecolorallocate

you don't do a lot by yourself, do you?

that is because I dont know how

You don't know how to use Google?

well, you know that small site that a few people go to - I think it was called Google

excuse me but will it get cached even if it's dynamic?

fine

hahahaha

it's just better in same cases to store binary data in db :-)

http://www.php.net/gd

some

not really

What cases would those be?

don't you rather want to say me how i could list defined variables in php?

yiha, running

get_defined_vars()

thanks a lot, now we can continue with flame

Actually, I'm quite interested in answer to the question TML asked.

when you have a lot of files on same logic layer, just as i've said

well, food o'clock - cya

then it is faster to have data ("files") in db

What do you mean by "a lot of files on same logic layer"?
That phrase is meaningless to me

it's not a phrase
i had 100k files in one directory (logically it belongs to one directory)

"it's not a phrase"?

TML yep but isnt there a function so i could allocate specified area?

While the words ""a lot of files on same logic layer" have meaning to me individually, when you string them together in the order and manner which you've done, it's pure nonsense

allocating whole image is bad, so for example i could only allocate bicycle TUBE by cordinates to red for example by specifing x, y, x1, y1

aa^way: php.net/imagesetpixel

when you have a lot data ("files") on same logical level

What do you mean by "logical level"?

say, like a 100k songs from one interpret on one album

Let me try rephrasing that using English, see if I understand you correctly
You're making a music download site, and one artist might have 100,000 songs on one of their albums.

opening files from a remote location to download them; fsockopen() or fopen() ?

file_get_contents()

to download them

I saw that the first time.

You caoud use copy()
*could

the source could be an FTP, FTPS, HTTP, HTTPS

file_get_contents is still the right answer.

but with that i can't control how fast i want it to go :P

yes, so?

i should really be doing this part in perl...

What do you mean "control how fast you want it to go"?

i'm sure we could find better example than that

When would you want anything other than "as fast as possible"

there will be multiple transfers going on at the same time

Then... uh, good luck. :P

and the machine isn't really on a fast connection

Please do so, then. In 10 years, I've never heard one single valid example that justifies storing binary data in an RDBMS
And?
Don't you still want each operation to happen as fast as it can do it?
Making the pie smaller doesn't make people want less pie

Making it expensiver usually does

Could you use cURL, set up a read callback and delay it somehow to in effect throttle the download? It'd be a bitch to come up with an algorithm to keep it to a set rate, though, and I don't know if cURL would still ack packets if it's sitting in a callback.

in gentoo linux there is something called portage (store lot of files in lot of directories) ... it's extremely slow, some people use db backend for it instead of filesystem

I don't recommend any of the above, though.

I disagree. It doesn't make them want less.
Why? A DB backend will be slower for binary data than a filesystem.

Personally, I'd shell out to wget with the --limit-rate option.

:|

try it

I don't have to try it, I've been trying it for years
a filesystem is a database that is OPTIMIZED for the use-case of "Storing large blocks of contiguous binary data"

pheeror portage does not store it`s binary files in a db lol

in context??

there is portagesql project, which makes your portage faster (-:

storing the file *NAMES* in a database can make finding ad-hoc files faster, sure

josh[n00b]: $doc = DOMDocument::loadHTML($content); $divs = $doc-getElementsByTagName('div'); iterate over $divs. With the appropriate error handling, of course.

HTTP_POST_FILES in error_log... what can I do to make it work again?

thanks LawnGnome

Ew. Don't use that... Use superglobals; $_POST / $_GET

pheeror yes it does make it faster by storing the paths and description of your packages but not the entire package.. just imagine trying to install open office from a db.. it`s impractical because you would have to export the data then extract it then use it .. when with the filesystem you can just extract it to the desired folder

I it is an old script... I just need to put it working...

and portage doesn't use binary data, it was a bad example

I want to get the information from a webpage using curl. I can only get the webpage if I'm logged with username & password... any one can help me with that?

I'm wanting to create a simple php app, which can setup a user account on debian? how would I do such a thing

is there any good example??

You need to enable long_vars (or something) in php.ini
register_long_arrays, IIRC

ah, tnx

i'm talking about *small* binary files, not openoffice tarball (-:

portage most certainly DOES use binary data
If you're doing many sparse files, use ReiserFS.

eth01 the most complicated thing would be finding out the /usr/sbin/adduser arguments for adding it silently .. what i can see from samba`s conf is ( /usr/sbin/adduser --quiet --disabled-password --gecos "" %u) and you`ll have to run "passwd user" and some args

damn, sounds confusing.

Instead, consider using a PAM solution to authenticate users to a more dynamic storage system than passwd files.

eth01 i tried it and havent found how to do it yet but i havent google`d for more than 5 mins

There are PAM modules for most of the major RDBMSes, as well as LDAP

http://corporacaoweb.com

I recommend a directory

i don't think anything is a viable solution here :|

did u mean register_long_arrays? I enabled it and it doesnt work

since there are sometimes big files that need to be downloaded

TML /etc/passwd (place that stores user info ) and /etc/shadow (password info) arent rdbms nor directories

so how would i make PHP instruct the server to download a file and not worry about it anymore?

I know they're not
Read what I said again

!+u

Surely you mean 'you', not 'u'? The letter 'u' is not a personal pronoun. Talking like this in ##php may get you silenced. For details, /msg php-bot aolbonics

TML i did read what you said.. and no pam module can create unix users as far as i know

hm. Lag

Debian uses the standard *nix "Pluggable Authentication Module" system, known as PAM, which can allow you to use things OTHER THAN /etc/passwd as the source for your system users, etc.

did you remembered to restart apache?

so you don't think its gonna work?

If you're willing to look into other sources for storing your user info, as I suggested, it works just fine. Shelling out to commands to edit /etc/passwd, however, is a colosally bad idea and every implementation I've ever seen is brittle and error-prone.
I have a number of hosts using LDAP and/or PgSQL as the authentication source

yeah, can passwd read mysql db?

PAM can let a mysql database be the source for user/password/etc
apt-cache search pam | grep sql

right.. once done.

"once done"?

how do I get the defined functions in a class?

what's this package?

heh. I think I found the reason for the 'bot's lag; Server problems

If you mean something like "start downloading but don't block until it's downloaded", I don't think you'll be able to do that straight-up. Either shell out and call a background task or fork() and do it in a subprocess. Fundamentally, PHP's not really very good at that sort of thing.

You mean the methods?

yeah

Try going to php.net and put "get class methods" in the search box and see which functions it finds

i just want it to start downloading without being dependant of the user

get_class_methods()

cool

!test

Yes, you're online, wolfpaws.

odd.

Or let AlexC_ spoonfeed you so that you have to use IRC to answer your questions instead of finding them yourself.
either way, really

!test

thnks

that took some time

Like I think I said in the midst of the network issues, if you want it to start but not wait for the download to complete, you've got very few options, and I still think system("wget $url &"); is about as good as you're going to be able to do, at least on *nix platforms.

many people come in here asking for a function to use, even you tell them what to use, remember you said to one guy - php.net/imagesetpixel

20 second lag? Holy cow! :o

And, if you look at his question, and look at my answer, I didn't directly answer his question - I led him to a spot where, with some research, he can find the answer
queue the donwloads in a database and then have a cronjob that reads that database and downloads the queued objects, removes them from a queue, and sends the appropriate notifications
That is to say, while imagesetpixel is *AN* answer to his question, it's not a terribly GOOD one, and unless he reads, he'll be crying himself to sleep with pixel calculation algorithms clutched in his hands
I belive you'll teach better if you always try to leave something active for them to do

nice!

how can I disable gzip with php?

i need to learn how to think abstractly :x

my server is configured to do it for everything but a few php scripts i do not want it to happen

disable gzip?
You mean disable compression to send to the browser?

doesn't it disable it when it won't work?

sure it does

Yes, I dont want the results to be gzipped to the browser..
I want it to be sent normal..without compression
I am trying to figure out how to do it with a line of php code at the top of the file, or with a .htaccess file..

gzip compression to the is done transparently; If the cliend doesn't support gzip, then it'll send the data non-compressed.

n00b question. I'm a java coder. Is there a web-page or some free reference I could review to learn the basic nuances of php?

the client DOES support it
But I dont want it to happen..

Why?
php.net/tutorial and php.net/manual

Because IE does not render a php/css file sometimes because it is gzipped

Wha? That's load of crap

I disabled gzip for my server and tested and the problem went away.
So I turned it back on and now am trying to figure out how to disable it for just those files

Thanks. I just skipped that out of hand because I figured it would be for non-coders

Hello.

Never heard of it. But try .htaccess or ini_set

How do I use php to change the current webpage?

Nathan-d: You mean redirection?

Err, yes. I want to change, or redirect, the webpage depending on a conditional statement.

Nathan-d: php.net/header

I'm trying that thanks.

Are you a Red Ninja?

Nope, sorry

Sigh. It was worth asking. :-)

Well actually, if you owe someone called Red Ninja money... I'm him :O
If you just wish to express your unrequited love - I'm not _

Hi guys, I was wondering how to make an image uploader, I have googled it but nothing JUST seems to work.
Hi guys, I was wondering how to make an image uploader, I have googled it but nothing JUST seems to work.

I'm in the process of trying to make an array of artist links for use with my blog, and wondering where I am going wrong.

It's just as any other uploader

know any good tutorials?

!+file-upload

http://www.php.net/features.file-upload

thanks

http://www.sovietninja.com/test.txt error: http://www.sovietninja.com/test.php
Also I'm more then happy to be enlightened if anyone can tell me an alternative quick & easy way to do what I wish.

sort($favArtists), not sort([$favArtists]);

You're female now? :o

deep inside, I always was

damn it, nicklimit is small on here =P

the error is here: sort($[favArtists])
oops

Mmm lets see then

hehehehe
kidding, right?

mm?

sort($[favArtists])
I should have stayed connected to the server\

that's never going to work
you forgot the ; :P:P:P

hello

i'm so confused about what stock options are

it's not mine.

i guess i have them...i'm assuming it's a good thing

Wolfpaws is merely the latest person to point out the issue with SovietNinja's script.

read the second line too... it was a joke

hi .. i`m looking for session variable script..like i have 2 pages... and if the user want to access to the 2nd page..then it will be redirect the user to the 1st page...

Thanks Wolfpaws, header works great!!!

Yes. Hillarious. I fall down the stairs from excesive laughter.
Nathan-d: Welcome

it seems like they give you stock at the price when you are hired? but you cant ...buy the stock until a year later or some such...but it's still atht he price when you were hired?

so to access the 2nd page user have to go through the 1st page

thankyou, I know have an uploader that works!

is there something like ifndef for functions?

function_exists

err, classes

make a session var like $_SESSION['in'] = "yes"

class_exists?

class_exists method_exists

and on p;age two have
like

aha

if ( $_SESSION['in'] == "yes" ) {}
else { header(location: page1.php) }

anyone have any opinions on a good PHP-based WYSIWYG editor to incorporate into a site (CMS) for client...

yes
honestly, the best ones i've seen that are the most flawless are not browser based
they are some sort of java or activex madness
that said, you can get some of the browser based ones to operate close to flawlessly with mass tinkerage

how do I change the file permissions and make a set name i.e name.gif for the uploaded file?

php-based WYSIWYG? Most of them are JS / HTML ones

try to get someone that knows word to do a sub-bulleted list in a browser based one
then paste your word doc into it

One more quick question folks if I may. My code echo's numbers when I'd like to echo the key
how do I go about doing that

Read the setcion from top to bottom

eh...learning...ok so a good javascript one?

k

http://www.sovietninja.com/test.txt http://www.sovietninja.com/test.php

Either #web or google

xyzu actually my 2nd page is iframed in the 1st page...so whenever i1m trying to pass the session variable...it's just keep redirecting me in the first page

the problem with javascript wysiwygs is that they are still invisibly using html and there are distinct separations hidden in the spacing

so better to go with a prebuilt applet then?

someone that doesnt understand html or tags will have problems
the paid java or activex applets are better
if i did it again i'd use one

oh god
using java for a wysiwyg editor?

what is the point of that?

i did it with tinymce and had to customize the hell out of it

java & activex imo

if this is a corporate app, trust me

activeX

lol

lol...

I dont know, my poop is pretty nasty _

LOL

o.O
lol

Iframes? You mean a frame pointing to the external server?

yes, no active x, please...i'm doing the best I can to abandon the M$ world...asap

yea

also there are issues pasting word into FF

using java is close too..

issues that cannot be fixed by JS

What numbers? Where?

like i have xyz.com/page1.php and 2nd page is abc.com/page2.php and page2.php is iframed in page1.php

like it pastes some sort of microsofty formatting into memory that the OS wont pass to firefox but will to IE

ugh...

http://www.sovietninja.com/test.php -- echo's numbers instead of the array keys

i would use FCKEditor, its been good to me in the paast

but i think java /activx can access it

I'm a total noob to all this so it's an obvious answer
*answer

Did you read the manuals for sort?

thx

i'm sorry but every js wysiwyg i've used is utter garbage

is there a way to rename the file?

you tried out FCK?

no...but, i'm just beginning exploring...

Briefly, I'm assuming I missed something

you might even want to head to ##javascript and ask them for a good one

i'll try it but i bet i can break it fast

oh...

i've seen some java/activex ones that are very impressive and generate perfect semantic markup
but they arent free

plus they use java/activex

Xyzu so is there any script i can use

By what are you sorting the array? The URL?

any particular one you all would recommend...fck is on the list...

#web. Now.

They artist names I'd hoped

read it and weap: http://www.tiobe.com/tpci.htm

A-Z

sorry, I dont know

weep heh

you want ksort, then

ahh

Im pretty sure sort() destorys keys
oh wolfpaws beat me

opinion

http://pastebin.com/d5d9048c4 -- how do i save it instead?

Java as a programming language isnt too bad, but using it for web pages is horrible

"Note: This function assigns new keys for the elements in array. It will remove any existing keys you may have assigned, rather than just reordering the keys."

I'm sure you can beat him to the next answer, I'm bound to have many more questions X_X

well for a wysiwyg i think there are underlying issues with using javascript for a wysiwyg
it works well for IT savvy folks but internally it is doing alot that wont make sense if you dont know html

thx...

like make a list of lists

Hello, I'm having an issue where I can't use MYSQL_CLIENT_COMPRESS flag from PHP's mysql when connecting to the server using tcp but I can use it when connecting through local socket/pipe. Any ideas?

hey guys, is there a way to rename an uploaded file?

then try to navigate it

Thanks for the answer, working fine now

Read. The. Manuals.

Mmm now I need to work out how to make it so the last echo does not include the comma
I'll be back in ohhh 10min when I've messed things up? XD

I have and it does not tell you how to rename a file

actually...fckeditor...so far so good heh *starts tinkering more*

http://uk.php.net/rename

ty

see lan, there are some good ones out there!

ok maybe I stand corrected, dont ever touch TinyMCE...fckeditor++

cya

i need to do some word paste testing though

yeah tinymce is shit, already knew that one :P

*cough*language*cough*

so yea _

damn
darn**
-_-

heh
Everyone is 13/f/korea on the internet.

LOL

lol

i'm 4

How do I get php to show 'compile' errors? my error_reporting is E_ALL at the moment, but I just get a blank page when there's a syntax error

i've seen that alot too
what gives?

turn display_errors on

you might have it set to only log the errors
but not show them

Hello all, I'm not much of a PHP guy, so this is probably a dumb question. I'm currently grabbing POST variables with this: $ipaddr=$_POST['ipaddr'];

they might be in your apache logs

they are but they dont display

and?

It is in my ini :-/

That prevents me from doing http://domain.com/blacklist/blacklist.php?ipaddr=xxx.xxx.xxx.xxx

doesn't mean it's on. check with ini_get() or phpinfo()

How can I have it check to see if it's done in the get OR in the post?

prevents how?

can i add ips?

$_REQUEST

do you have in php.ini display_errors = Off

is it still secure to use md5 checksums to authenticate requests?

authenticate how?

Can you do $ipaddr = $_POST['ipaddr'] || $REQUEST['ipaddr'] (with the intent of using POST first, then fall back to REQUEST if the POST value is NULL?

No, in my ini it is on, and phpinfo is reporting it as being on

interface.php?user=wolfpaws&newname=notwolfpaws&checksum=md5(user+newname+sharedsecret)

Is it possible in someway to use PDO::FETCH_PROPS_LATE with PDOStatement-fetchObject? It works well with setFetchMode/fetch and fetchAll

go read what $_REQUEST is

http://pastebin.com/d5d9048c4 -- how do i save it instead?

If you can't tell, I'm a perl dood, haven't done php since around 2002, so I'm not intimately familiar. Ok, will go read.

!+vars

You may have a register_globals issue. Read the following thoroughly: 1) php.net/variables.predefined 2) php.net/variables.external 3) http://www.snipe.net/content/php_stuff/globals.php

wow that is odd then, if you changed to to be on recently, try restarting your webserver, thats the only thing i can guess

perl still exists?

howdy, is there an equivalent to suppress errors in OO to @ for functions? $obj-@method(); doesn't work

use exception handling

No, things haven't changed in a while... been like this for a while now, but it's just now frustrating me... I'll tinker a bit see if I can come up with somethin

I'm trying to do file uploads and it errors on the file size before my exception checking kicks in

Wolfy[drawing]: Got it.

Why would you use @ with methods?

i think it supresses errors

Wolfy[drawing]: my last comment :/

wtf is wrong with my brain lately, i cant remember anything

file uploads are done before any part of the script is executed

i think it's stress

Then do apropriate code to prevent warning / errors

exactly, which is why I want to suppress the error and have the error checking handle the reporting
Wolfy[drawing]: I have that code, but the method is doing error_reporting before my code can handle it

I seriously doubt that; The upload itself triggers no errors.

Wolfy[drawing]: ( ! ) Warning: POST Content-Length of 76180863 bytes exceeds the limit of 8388608 bytes in Unknown on line 0
that isn't from my exception checking

no, that's directly from PHP.

yes, and it's that reporting, not the checking, I want to suppress as the same reporting can be done inside the framework of my app in a far less ugly manner

you can't. Unless you mute the warnings in php.ini

well

doc|work you want to use set_error_handler() ?

hey guys, i have a string which is to be executed, when I cut and paste it to the command line it works fine, but using a exec or system won't work. with the same string.
any ideas?

nope, just suppress the output of that for just this method
just this instance even

Ummm... Well, wouldn't that mean, that the user that should execute that have insuficient permissions?

doc|work can you do error_reporting(0); at the beginning of the method then error_reporting(E_ALL); at the end to restore defaults? just an idea
Ricoshady can we see the string?

well this is actually running on windows and apache is able to read and write the directories
sure one sec

just tried that, doesn't seem to work

tags surrounding it, I want the info thats in between all the tags, is there a function for pulling it out, and is there a way to differentiate between a string with tags in it, and a string which doesnt?

"c:/program files/htmltools/htmltools.exe" "https://corp.broadviewmortgage.com/flyers/output/17d6e60afc3baf305189b5cbca1677e4.html" "d:/web/htdocs/flyers/output/17d6e60afc3baf305189b5cbca1677e4.pdf"

neverblue you can do all that with regular expressions

thats easy for you to say :P

dom?

yes, dom

rolfen, that entire things is the string

dom is what?

doc|work i think dom is overkill

a function?

I know it is kind of mysql question but at same place programatic. I have three columns id_pk(autoincr), some_id , order_id | id_pk is PK some_id + order_id are unique. | so we have somthing like some_id = 1 order_id=1 ; some_id=1 order_id = 2 etc... | problem is when I want to switch order.... unique constraints kicks in during first update. ultimately it will be ok...but cannot make mysql not complain

Is it possible in someway to use PDO::FETCH_PROPS_LATE with PDOStatement-fetchObject? It works well with setFetchMode/fetch and fetchAll

http://ca3.php.net/dom
perhaps

As said; It's PHP error. Use .htaccess or mute the warning in php.ini; But in both cases that's a bad iea. Increase the max_upload_size to matchthe uploaded file

thanks

Ricoshady it may be that your app is printing it's output to the standard error instead of standard output

rolfen. what is also odd is that I get nothing back in the output var of exec, and it returns 1 for the return value

Ricoshady or it may be a problem with the quotes.. but i doubt it

Wolfy[drawing]: aye, except I don't want people to be able to upload more, just want to be able to report when they try without it breaking the page

No pdo-gurus here?

anything else besides dom?
just regex?

Ricoshady you use exec to execute it?
mmm

probably

guess ill just learn regex then :/

and /html, then regex can be used. If you need to get all the elements and contents of them, use DOM

neverblue i'm here to help you learn regex if you want
it's very powerful

http://www.regular-expressions.info/ is good, prepare for it to take about a day

!+mre

http://www.weitz.de/regex-coach/, or http://www.ilovejackdaniels.com/regular_expressions_cheat_sheet.png

it will take more than a few questions directed towards you rolfen

rolfen, yes

and if you're using linux, http://laurent.riesterer.free.fr/regexp/ is really useful

regex is acctually very simple
at its basic level at least
its just knowing what the symbols do

actually, there's a windows version too. my bad

everything is simple at basic level. But the basic levels are incredible boring.

nah, regex are fun

lol

I never said they aren't.

ill be the judge of that

heh

rolfen, get this, you can't use the "program files" dir name using exec, haha you have to use the old legacy naming progra~1, lame
windows blows

Ricoshady ok try executing the command from the command line by appending to it 2err.txt 1std.txt

if( $value[0] == '' ) -- this should work to find a string that starts with a tag, correct?

Ricoshady then examine the contents of err.txt and std.txt
Ricoshady ah ok seems you have resolved it

yea, i got it rolfen thanks. really the app was never being executed because the paths were screwing itup

Ricoshady yeah that's really lame... i was actually looking somewhere else, making sure that your command didnt output to error outpout instead of std output

yea, makes sense

neverblue, i would use substr($value,0,1)

if every tag starts on a new line, that might work

i should use substr to pull out the text between the tags?

you really should use regex or dom
if you want the attributes and values, you're rewriting dom :/

Wolfy[drawing]: Many thanks, headed back into my own little world. (If you're curious, that was for a modified phpMyBlacklist to maintain our own internal RBL. It has about 510000 IP addresses since Oct of last year. Now just adjusting the way on our postmaster page for people to request off of it.)
later

neverblue there are various ways of doing things... you can use preg_split, o preg_match, or substrings in some instances... or...
it depends on what you exactly want to do

htmltitleThis is the text I want pulled out/title/html

ok hold on

:O

just the content of the title?

i want whats in between the tags
whether it be null or a string

every tag or just title/title
?

any tag

How install fileinfo pecl ?

use dom :|

:P

under *nix

then you get to know which tag it's from, and the attributes for it and their values too

!+modules

Given a copy of the php source in ./php: cd php && cp -a ext/mymodule /tmp && cd /tmp/mymodule && phpize && ./configure --help You're on your own from there.

i just need the text
no reference to the tag
im not writing a parser :P

tnx

title(.*?)/title

oh yeah that could work

Wolfy[drawing]: not just title
every tag

for every tag he should use DOM

i guess u have to use preg_replace to remove the tags

!+u

Surely you mean 'you', not 'u'? The letter 'u' is not a personal pronoun. Talking like this in ##php may get you silenced. For details, /msg php-bot aolbonics
bSurely you mean 'you', not 'u'? The letter 'u' is not a personal pronoun. Talking like this in ##php may get you silenced. For details, /msg php-bot aolbonics/b

dom is easy

give an example of a command, using dom?

read the docs...

php.net/dom

even just the comments on them

I get Provide an AUTOCONF_VERSION environment variable, please
what I must set ?

); try it, should work

Install autotools; autoconf and automake

that will return 'blah' ?

I have it installed

if i did everything right
oh no

export AUTOCONF_VERSION=2.61
?

forgot the quotes around the pattern

Do you have AC installed?

can I run this from command line?

);

every tag.

neverblue you have to paste it into a .php file
dunno if there is a way to run it from cmd

k

that pattern is wrong, but if that's what you want then just use strip_tags()

now to find out what that regex does

is it possible to insert data to mysql at first field?

arpad lol

strip_tags() that sounds about right

Why would you want to do that?

thanks arpad

how do I change file permissions with php?

Anyone ever messed around with using a Tor component for outbound PHP connections?
Somehow forcing PHP to use the Tor network blah blah

http://ca.php.net/chmod it's in the docs

php.net/filesystem. Read it all

thanks

Wolfy[drawing]: I save user diabetes informations about their calory per periodic, so if I want to query them I need newest users calory

add a timestamp, order by that and limit it
to 1

Is it possible in someway to use PDO::FETCH_PROPS_LATE with PDOStatement-fetchObject? It works well with setFetchMode/fetch and fetchAll

ah, yes, another day of not learning regex

hi all

lol neverblue

i have php, gd, and php-gd installed on a centos machine

Ever heard of 'sorting'?

wimp

when i try to use imageline(); i get an error
do I need additional software?

want to tell us what the error is?

is gd enabled in PHP?

limit it when insert the data or query?

is it possible to have static properties?

on the query
mysql.com/query might be an idea to read it in its entirety

#mysql

imagepng(): supplied argument is not a valid Image resource

yes it is. ha.

bah, that's not the right link. In any case, mysql's query docs document it.

did you read the image manuals?

Wolfy[drawing]: this code is working on another server, so I am assuming that I am missing something

if it's working, it's not the same code that's a programming error
or at the least, the parameter being passed doesn't match what the function wants

if it's working on another server, you did something that you shouldn't do.

ok just for the record i fixed and tested my pattern
so this works:
preg_replace ( '/[\/a-zA-Z]+/', '', 'aattblah/tt/aa' );
:-)

I can't understand what you're trying to do...

Wolfy[drawing]: obviously

good thing that html tags don't have things like attributes eh :p

haha

arpad -(

preg_replace ( '/[^]+?/', '', 'aattblah/tt/aa' );

Programming-wise

oh ok that's better

What's wrong with strip_tags?!?

Wolfy[drawing] too easy

or better yet; nobody thought of it

be careful with things like that: a5 and b6

Myrth what's that?

hello..i have xyz.com/page1.php and 2nd page is abc.com/page2.php and page2.php is iframed in page1.php..so id there any way if someone wants to access page2.php they have to go through page1.php

i did say strip_tags 10 minutes ago when the question was actually asked
he's just correcting his pattern

i think he's just exercising

What's the use of setting a socket connection as non blocking?

If you're stiping HTML, you won't have any of those inside

$_SESSION isn't a security risk (in need of sanitizing) right? I know $_GET, $_POST, $_REQUEST, $_COOKIE, and even a lot of $_SERVER values are all risks, but $_SESSION only has what you put in it right?

Wolfy[drawing]: unless it's not properly encoded

That's given

as long as you don't allow user generated data to go straight to $_SESSION
I'd always sanitize it though

Wolfy[drawing]: sigh... nothing is given in this imperfect world...

thanks

np

I am assuming that the programmer, that is doing whatever s/h is doing with HTML, has an IQ of at least 50.

lol

ok, this is annoying. I've switched off display_errors, so now, when I upload the file, it just dies. No errors at all, not even from my size checking. The script dies(). Anyone got any suggestions?

check the logs

I know why, the file is too large, but because it dies, I can't report that back to the user using my error reporting stuff
so the user sees the page load, then no error back saying 'the file you uploaded is too large'

hello..i have xyz.com/page1.php and 2nd page is abc.com/page2.php and page2.php is iframed in page1.php..so id there any way if someone wants to access page2.php they have to go through page1.php

Im trying to connect a socket... Im receiving error 115... what it means? Is there a table of error codes?

doc|work maybe ini_set('display_errors', "1") or something like that at the beginning of your script... (temporarily)

when does the error occur? move_uploaded_file() ?

doc|work oh ok that wont work for you then...

argh, no, remember, I don't want php's errors, I've switched off display_erros for precisely that reason

if you don't want errors, fix them instead of hiding

no, I'm doing nothing

?

man, I'm doing size checking, but php borks before that.
ok, here's the scenario:

size checking

except php kills the script before it gets to size checking
on its own bat

why dont you enable errors temporarily, just to see what is happening

I know what's happening, the file is larger than php allows.

i have a question.... is there a setting in the php.ini file that makes it so that every time an exec() type command is input it sends some kind of variable with it?

ah ok

and that's fine. I want to report back to the user, in my own page, nicely displayed, that that's what happened
but I have two options, have php barf and display php's utterly ugly barf message, or display nothing

afaik - php should not just die because of that - if there is an error it will be stored in that $_FILES array

or so it seems

for example i am trying to run shell_exec('php-cgi -h'). on my server it executes the same script over and over again createing thousands of php threads

I'm checking that, but php does die
before it even gets to that

on my computer it does the help

do you mind pastebining the code?

one sec

ALL` it should only execute once

it doesnt though
that is waht is annying me

http://pastebin.ca/614776

i am thinking that for some reason it is executing the same script

ALL` that's not normal, what is your exec code?

print_r(shell_exec('php-cgi -h'));
that's it
i am thinking it is sending an additional parameter of the source location

shell_exec returns a string ALL`

because what it is doing is causing php-cgi to execute itself
i know it does
like if i am executing /a.php and a.php has shell_exec('php-cgi -h') it is going to call php-cgi and have it execute a.php causing an infanit loop

how is calling shell_exec('php-cgi -h') going to execute a.php ???

no idea

magic :P

but it does
want me to show you?

how?

any ideas?

i will put itup on my server

no, sorry - weird though

it works fine on windows
not on my server which is linux

:/ aye
anyone else?

hello..i have xyz.com/page1.php and 2nd page is abc.com/page2.php and page2.php is iframed in page1.php..so id there any way if someone wants to access page2.php they have to go through page1.php

ALL` this is very weird... maybe a bug?

you could check $_SERVER in page2.php

you're sure that your shell_exec call is not located somewhere in a loop?

leme show you

like a while loop

if the hostname doesn't match or what ever you can get from $_SERVER then kill the script - though, why would you want an Iframe in the first place - and why a remote script like that?

ALL` ok, if you want...

bhola, If what you want to do is A then ask about that. Dont ask about B that you think is the solution because B may not be appropriate for solving A; just tell us what you're actually trying to do.

bcz my forum is running in one server and all my files r in 2nd server... so i just don want user to go to the files page without going to the forum

bhola, first off... get rid of your iframe

move the files over?
yes, iFrames suck

bhola, and second off, why do you have a split like that?

rolfen i pmed you

bhola, wtf does that accomplish to have "files" on server X and "pages" on server Y

makes it turbo fast!
zooooooooom

AlexC_, oh... right... d-d-d-duhhhh!
lol

mkdir() uses 0777 as a standard mode for the dir creation, yet in my experience most *nix systems use umask 0022 which changes the default mode to 0755. Is this correct? Is there a way to change this using only mkdir() (so now chmod() afterwards and no changing of the system umask)?

=D

BjornW, that's a question for #apache
BjornW, PHP has nothing to do with what file perms get set... apache is the user, not PHP

bcz i have a hosting anf my forum i running in that hosting server and i1m sharing all of my files from my home pc

php is the one that accessing the filesystem, not apache

Myrth, PHP is the one accessing that filesystem... as the apache user

I didn't understand a word of that - could you type normally please

php setting permissions, not apache

!tell bhola about u

correct, but my question relates directly to the mkdir() php function and I was wondering if one could do something about this using only mkdir()

BjornW, http://php.net/mkdir - probably not
BjornW, that's what chmod is for

i did it like that way bcz i don have enought space in my hosting.. so i`m using my pc to share large files..

in my experience there's also a problem with default 777

yes, and that's what I was wondering about. Why bother than to set the mode in mkdir() anyway as this is being changed by umask anyway

is there a place that could demonstrate the use of exceptions in PHP? I do not understand one bit why they would ever be needed

bhola, stop saying "bcz" you tard

what's your experience?

can you be a little less rude please?

it just doesn't set it 777

bhola, and pay for a better, host. there are places that'll give you like 10G for less than $10/mo
bhola, are you really sharing files that are over 10G?

yeah, that's probably due to the umask, which makes it IMHO impossible to really set the mode in mkdir()

oh ok..sorry
yea i have like 30 gigs of files.

I trying install horde and have some trouble with MIME Magic Support (mime_magic)

doc|work, no not really. that requires concentrated effort on my part and I'm not in the mood. i'm not being obscene.

how I can add it?

not being rude requires effort?

bhola, an iframe is not the solution to your problem. use the right tool for the job.

then spend some money on real hosting and doing it right

not to use an opportunity to release the stress whenever possible requires

i don't have that much money.. if i had then wouldn't have to look for alternative way

time to take a break from the channel then :/

I just don't understand why you would throw an error instead of just using an if-else

Myrth, doc|work both of you are going on /ignore i suggest you do the same if you can't handle it, kthxbai

ops, is being that rude allowed in here?

If you sigh up with Dreamhost I can give you a coupon to get $97 off
or just google for one
though, I would not suggest Dreamhost really =D, they'are up and down like a yo-yo

doc|work, yes. i've seen the ops themselves be *much* ruder. wake up, fool.

hello

g'day mate

and I've banned you from another channel for your behaviour. Different channels have different rules.

I have a question about php-cli

AlexC_, lol wtf? $97 off of a $10/mo host? lol

Then i guess i have to wait for 2 months and save money from my monthly allowance

doc|work, indeed they do

if you buy it per-year

I need to execute the same script from within my php script AND I have to close the current one (that starts the other one)

zilenCe, so ask it

you need a hosting account?

I got a years worth of hosting for $27

AlexC_, wow

no rules, only justifications

AlexC_, dreamhost is rather unreliable though

it's crap, mind you - but it's hosting. The features they offer are, very good - but liek I said it's up and down liek a yo-yo

No if i can get it work. then i don need any hosting

AlexC_, i know from experience

right now it starts, of course, the script with exec, but the script does not stop... :


Related Topic:

1 Displaying news from all categories with settings only 1 important setting disable comments of one category
Alright so if I wanted to move a ton of variables into a config file and use them throughout another PHP file
Need some opinions here I am starting to realize that i am spending way to much time developing little things