Top PHP Interview questions – 02
101. How do I write a php script within a php script to a file without escaping everything?
102. How can I create a dropdown for date field showing past 3 months, present month and the 12 months in the future?
103. Can I read NT registry info from PHP? How?
104. How and when to use $php_self and $query_string????
105. Can i define $QUERY_STRING? Meaning when the query string is menu/news, it will display just news.
106. How can I list files in a specific directory and hyperlink to them?
107. Warning: Nesting level too deep – recursive dependency? in Unknown on line 0. What does it mean?
108. If I have developed a dll using Visual Basic which contains the Application logic, how can I create objects of the classes in this dll in PHP?
109. How to handle special char's like É , Ü . I am passing company name in a system command but when there is a special char like Ü then command fails.
110. How can I open with fopen() a file in an machine of local networks. Ex.: fopen(\machine\sharing name,…,…)?
111. How do i save php output sequentially by date so that i may move forwards and backwards in order by date of creation “next/previous etc”
112. Is it possible to make PHP output a gif/png (eg a photo) as well as the desired data output?
113. How to post binary data in write() with PHP socket?
114. How can I use PHP to create XML documents with data from a database e.g Sybase, Mysql. Does it exsist any tutorials on this ? Thanks.
115. Hello, I have an error: unable to load dinamic library 'c:\php/php_oci8.dll no se puede encontrar el modulo especificado. I'm beginning with PHP.
116. How can I run SSI commands like #INCLUDE etc. in my PHP pages?
117. How to call from within a PHP extension other extension's functions ?
118. how can you insert a mysql field into a link tag using php?
119. how can i pass 2 variables from php and include it in a hyperlink? eg: <a href=($variable1)>$variable2</a>
120. what the difference behind the implement mechanism between the common CGI and php_based application?
121. Diffrence in outcome of formula 1.08^12 PHP=13 Visual Basic=2.51817011681898
122. How to covert web input (PHP) to XML format?
123. Switching an input from web (built using PHP)to XML format
124. Is it possible to run a php script from an .swf and then return a few variables back to the .swf.
125. Can PHP send an update signal (popup screen) to other users when a user makes a request on a game?
126. Can anyone offer advice on making a web poll that has a different no. of answers for each question?
127. What is PHTML ? Is it the same thing as PHP ?
128. How i can pass variables to a cgi usin passthru?, i need an example
129. How do I link in an external file containing common php functions for calling from within the page?
130. How can i cut tags from getting into a database
131. I wish to call a /usr/local/bin/pgp program and then put the output into a variable, which way best?
132. A php game. How to broadcast a message to other players when one player make his selection?
133. how can i make an html form that will search a mysql database?
134. how to redirect from php page to another php page? 2. how to refresh a page?
135. i want to make a place where users must supply their username and password, i havent found anything.
136. using the header function to redirect a script to a PDF file I am getting junk characters?
137. How can I generate redirect to other html page from PHP page when the PHP server is down?
138. I tried to load Blob Image from MSSQL using php but the 25% of the image is displayed only?
139. How do I include a .jpg (from outside the web srvr docs dir) in a page with other html content?
140. How do you make a page expire after it has been idle for a period of time?
141. How do I make make a session counter without using a database, aka using application level variable?
142. How can i save an image from a remote web server to my web server?
143. Is there a place to post *really* nice ASP apps in hopes that people convert them to PHP?
144. Looking for ideas on how to include file “color.txt” but only if it contains the word “green”.
145. How do I get a page to automatically print its contents when it loads?
146. how do you “protect” a page using .htaccess file
147. how can a session be destroyed when user closed window without logging out?
148. Question about settings of using PHP under Windows platform???
149. How to do attachment if I want to use a file as background?
150. How to pass a string that contain character “&” between words that display on the url
151. How can i sort asc, thereafter desc by click on the same button (like in excel)
152. how can i convert a php file to exe format
153. How can I search a different site & show the results in my site,with out giving links to the orginal
154. Can you use PHP to acces databases over the internet?
155. I can only get the last record from a database to be displayed, how do I get all records to display?
156. Is there any way that i can show the content of a mysql DB into a excel file using php?
157. How to call a remote procedure in PHP?(like RPC)
158. How can I generate graphs in PHP?
159. I'm writing a news posting script, and my sessions aren't working! Somone explain how to use them!!!
160. I need to create a customer id for a mysql database from the info contained in the html form.
161. How can I insert a snipet of code in my table and then echo it on a page without it getting parsed,
162. Can anybody suggest a logic to parse an html page to get the news titles using PHP script?
163. I´m new to php and would like to know if theres a script that automatic updates and shows cpu uptime
164. How can I write visitor's screen resolution to a log file (text file) with PHP?
165. How do I forward a GET/POST request to another file without notifying the users browser to redirect?
166. How do I read data from a windows .txt file and display it on a web-page ?
167. Can you set up MVC using PHP like in Servlets, JSPs and JavaBeans?
168. How do you redirect from one PHP file to another without notifying the user's browser to redirect?
169. how can I redirect a user with wildcards like 213.* or hostname like *.isp.net
170. how can i archive a set of remote files, about 10 on my own server?
171. How can I query MX Record from DNS Server for particular domain ?
172. How do u explode a string of content and then call each individual bit by it's own, new, variable???
173. How can I use apache to set PHP Environment variables?
174. How can I use apache to set PHP Environment variables?
175. I'm running PHP's on a IIS Server… The server is limiting the number of sessions
176. How do I set a text field so that it outputs the inserted text to a PHP variable?
177. How can I check remote file dates, to later use to print how old a file is?
178. Why won't my php script see the variables passed to it from the previous page in the url? ie: http://yoururl?arg1=value
179. how do i make a var set in the query string available to another file ?? eg to a css
180. How can i execute and php with javascript and how should be the php code?
181. is it possible to launch an executable(C++) from excel on remote cluster via PHP?
182. How can I get user via PHP after .htaccess login?
183. How can I get users via PHP after .htaccess login?
184. I want to store the contents of a directory(.jpg files) in an array then echo the values. HELP!
185. How can I fill in fields in WinWord from PHP variables
186. Without using <pre>, how do I get textarea to save format of entered text into MySQL field?
187. How do I include pre-formatted text into a PHP page?
188. How do I get (ctime & mtime) on a remote file (http) without downloading it. “fstat”, didn't help
189. How do I populate an array from a SELECT string?
190. how to rctify this warning Cannot send session cache limiter – headers already sent
191. how do I refresh and redirect a page using PHP?
192. Is it possible to multiple web application platforms on the same server? ex: PHP and JSP on Apache
193. How do I get the Windows NT $DOCUMENT_ROOT? The variable is blank.
194. How can I search in Excel file for a specific keyword and then print in a HTML format ?
195. How to make included htm use the correct path for showing images?
196. In what way can I use “namespaces as in C++” in PHP?
197. I have an exe file on a server, can I launch it with PHP with command line parameters?If not, how?
198. How do you refresh a PHP page into itself?
199. How to export table data from browser to local disk in .rtf/.txt format?
200. How can be avoided the popup dialog with htaccess passing the login and password with PHP?