Hey there

I know one can use include http://domain/page.php?var1=xxx&var2=xxx

But I dont need an include

This is what I need to do, and how on earth can I achieve this? I've burnt my brains already.

Please help me.

$command = "/usr/bin/php5 -f /home/path/to/file/test.php?folder=777";

then run the command.

so,
test.php needs to know the folder code.

is there a way to do this, or maybe a suggestion for something else?

I cant do an include, have to do it by executing a command.

thanx

Recommended Answers

Perhaps exec() or shell_exec()?

Jump to Post

All 2 Replies

Perhaps exec() or shell_exec()?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.21 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.