trq
Staff Alumni-
Posts
30,999 -
Joined
-
Last visited
-
Days Won
26
Everything posted by trq
-
Just use the value stored in a cookie to identify the user. You would then auto login the user behind the scenes using the same code that you already using.
-
You need to explain what "not working" means.
-
See http://forums.phpfreaks.com/topic/282534-extract-data/?do=findComment&comment=1451716
-
See here.
-
My first question would be exactly what was asked in that thread: My second question would be the same as sKunKbad's:
-
It's not really something you should try and rush. In fact, you should know php well first and be familiar with a lot of OOP concepts. Then, like always, its practice makes perfect.
-
Do you have a question?
-
CodeIgnitor is dead. It is also a terrible example of a php framework. If you are just starting out, I would suggest Laravel.
-
Why would you want cron to execute a php script via http? You should put your php script somewhere outside of the web accessible directory and call it via php's cli. As for passing variables, if your going via http you have to use whatever mechanism http provides (such as that you have shown in your example).
-
Assuming that dump is of a variable called $obj echo $obj->GetMediaListResult->string[0]; echo $obj->GetMediaListResult->string[1];
-
You might also want to have a look at Guzzle, it makes http so much easier / cleaner.
-
New Form Authentication - PIN ONLY - NO Uername
trq replied to jsmith664732's topic in PHP Coding Help
Of course its possible. -
The instructions seems pretty clear. What part do you not understand?
-
cool.
-
Your question / problem is about as clear as mud.
-
type = Button & onclick() type of functionality for php, static_variables
trq replied to ajoo's topic in PHP Coding Help
You cannot use static variables to persist between requests either, no. -
type = Button & onclick() type of functionality for php, static_variables
trq replied to ajoo's topic in PHP Coding Help
PHP executes on the server, so no. -
You seem to have misunderstood the topic of this board. We do not write code for people.
-
No opinions really. It might be a nice to have in some specific scenario, but whatever... If this passes I will be angry. Far more useful RFC have been getting knocked on the head of late.
-
No one mentioned any Java.
-
So you don't want to run the code "all the time", you want to attach it to a resize event. http://api.jquery.com/resize
-
What does this statement means (<?=) in a tenary operator
trq replied to asker54's topic in PHP Coding Help
That is a different issue. Your not checking to see that $_POST['submitted'] exists. <?php echo isset($_POST['submitted']) ? "sorted by {$sortType}" : "unsorted"; ?> -
Running Microsoft Speech API console program in PHP
trq replied to ThurSN's topic in PHP Coding Help
Yes. Accessing a php script means that it is served up by your http server. The php script therefor runs with the permissions of this http server. Running the script yourself executes the script with whatever permissions you have. -
If you were using the nested set model this would be so much simpler, but anyway, you have described what you need to do... have you tried coding it? Where are you stuck exactly?