Creating file 'php' after getting data [closed] - php

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
. I wonder how can my project automatically create php file by itself , after getting some data like product description ?

Like you'd create any other file. From the manual. Just give it a .php extension.

Related

How to create a comment system in PHP [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
How can i create a comment system in php which will not display the writers name.
Like- If a person comments then his/her name should not be displayed.
Here is the article that shows you how to make comment system using html css and php.
Link: How to make comment system.

PHP - Find File in Directory By File Name [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I have a directory full of filenames that contain unix timestamps.
file_1434320602.data
file_1434320352.data
file_1434320112.data
file_1434320032.data
How would I get about loading them up in PHP so that I can select the one which I needed?
There are many ways you can do it. The simplest in this case is glob:
$files = glob('/path/to/file_*.data');
print_r($files);

how to get information from a link in php [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
If give you a link like http://login.php?workerid=abc,
how can we get the information of workerid in php? Thanks.
Maybe $_GET function, but do not know exactly how to make that work.
you can get information from url like this
$data=$_GET['workerid'];

How to make stream data PHP+Jquery [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
i'm trying to create a data Streaming like Facebook,
when scroll down a New data uploaded! using PHP and jquery
If you mean loading more content? That's called 'infinite scrolling'
one of many jQuery plugins: http://jscroll.com

Request route action return as zip file download like response in symfony2 [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
Hello I want setup the download zip file as response when someone request a action in symfony2. Please help me or provide me some code.
You can find a full demo here :
http://www.piotrbelina.com/symfony-2-sending-a-file-to-download-from-controller/

Categories