Programming :: Use PHP To Read An RSS Page That Is Online?
Apr 30, 2011
Just a quick question. If I were to use PHP to read an RSS page that is online, what "browser" (user-agent) would the webserver detect my PHPs request as? If that doesn't make any sense I'm referring to information such as Code:Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.17) Gecko/20110420 Firefox/3.6.17 ( .NET CLR 3.5.30729)
wanted to know if i can execute commands on linux console through a web page and redirect it back to my web page !For example :if i send a query "ls"it should execute this command on my linux console and also redirect the list of the files to the web page from which i give the command !
I am interetsed in web page creation software, getting that is easy, now, I am looking at text books, classes or online tutorials. Are there any to mention?
I have recently installed ubuntu on a different computer. I have had multiply instances of wine running fine on multiple desktops. I have had some issues before and I ended up reinstalling ubuntu and it worked fine. I do not want to reinstall ubuntu again if it is avoidable. I have not been able to get any windows programs to run successfully with this installation of wine.
Wine version: wine-1.1.42 Errors in terminal Application: "Heroes of might and magic III" jake@jake-ubuntu:~/.wine/dosdevices/c:/Program Files/Heroes of Might and Magic III Complete$ wine Heroes3.exe wine: Unhandled page fault on read access to 0x00000004 at address 0x7dfd4ef6 (thread 0009), starting debugger.....
Im looking for a script that could help me create linux users on my server online using a website.Anybody know where i could find one?or how to make it? not the best with coding doh
I would like to have on a website a notepad ONLINE, so that my friend and me can work on a document TXT together or well we can refresh it every 5min...
well such online notepad is not free... anyone has an idea where it is possible to find the code for this. I am not good in PHP, and not informatician.
I am adding inventory control to our online store here at work and I'm not sure of the best approach.Let's say Customer A and Customer B are both looking at the product page for Product X at the same time, and there is only 1 left in stock. What should happen if both click "add to cart" at (more or less) the same time?hould the last Product X get put "on hold" for one of the customers, and then decremented once the sale is complete? Or should the database decrement the product count, and then increment it if the sale doesn't go through successfully?Is it still possible for both to add it to their cart? Are there any mysql features I can use to ensure both cannot purchase the last product?
I don't know why but on Ubuntu 10.04 I can't find manual for read bash command (invoked with "man 1 read").There are manuals for C++ functions, but not for bash command...However, I'm still able to use that particular command in my scripts.Is read command deprecated, I miss some files or is this a bug?
What command would you use to read about the sync system call (not the sync command)? How would you read a local man page for sync that was kept in the /usr/local/share/man?
Browsing some websites I've found a code for online form where a user provides name, number, etc. Everything is created in html/javascript. I'm just wondering whether it's possible to collect this input and present it in a database form so that I'd be able to see who's provided data and all the details they entered.Actually, it doesn't have to be a proper database (it would probably require php/mysql). It could be a weekly/monthly report (a text file) of people who provided details. The website is hosted by a third party company.This is an html bit:
How could I (using c++ language on linux machine) put media stream (like mpeg4 movie) into the udp packets and send it to other computer in the network?
I have a server listening on incoming client connections. Once the client establishes SSL connection with the server, the server waits on read() from the client. Only Client can disconnect the connection. I want to have a timer in the server program to wait for x secs after read() and then disconnect the Client connection.
I would like to unzip a simple PHP code files, to have a online PHP contact / phone book. Simply, slow, and not database oriented over complicated setups into settings. I have a PHP / web provider (free), not apache. WITHOUT SQL (like before it may exists) something like this [URL]
If a user wanted a page that does not yet exist - but is being made at request - I'd like the script to "poke" the server to see if the page is ready to be displayed. If so, it would then transfer to that newly made page.
I read about "http_get", but do not seem to get it to work
Quote:
Ok, there might be a simple way out, but I don't see it.
My info came from [url]
More specific:
Quote:
Returns the HTTP response(s) as string on success, or FALSE on failure.
Besides getting hold of a good software that'll do the job of actually generating the image, I'm confused as to how to actually put it on a webpage- since the program that'll generate the image will be on one particular webpage, and the program that does the *checking* will be on the *subsequent*, i.e. unrelated and separate page, how does it know what the correct letters and numbers are?
I want to write some PHP for a website that'll have the data that the script will generate written inside a table with thin black line around it, much like LQ itself. My problem is: how do I draw the box that the text will be inside of, since the amount of text will vary - if I have a GIF with a picture of a box, that'll be of a fixed length, and my script can then only generate that much text, for it to look nice. Or do I need to fiddle with the GD library to get done what I want?
I have 100 sets of EPS files. Each set contains 3 files. I was wondering if it possible to arrange each set in such a way that 3 EPS files will be on one page?
I know how to write a bash script with "for" or "do" loop. how to arrange the EPS files, which are produced by gnuplot.
My distribution is Fedora 12. When I want to get the infos of kernel functions such as printk, i type man printk, failed. I look up some articles and learn that in some distributions the kernel functions is in section 9 of man page. Then i type man 9 printk also no reply. How can i get man pages of kernel functions ?
I am trying to learn how to include common elements on every page. At first I made the mistake of calling it ssi but I do not think that is correct in php5. I downloaded phpb3 to look at and they are not doing it that way. they do it like this. Code...
Problem is I can not find any articles that explain it. I even looked at the php manual and did not find it. Could someone explain this or point me in the right direction.
Page.php -- has a special division thats empty and on Link Click calls Javascript to change inner.html to an IFRAME call So the user clicks the link and then it shows the division and loads the IFRAME The IFRAME Source is iframe.php in IFRAME.PHP I need to take the Session Variables that were set already in Page.php all sessions work fine when not using Iframe (open iframe.php in its own window) but doesnt work when its Iframed and sadly I have to use Iframe on this page NOW the CATCH is -- I CANNOT use any POST or GET Values the iframe src MUST be straight url to the page [URL] cannot use variables in the url [URL] etc..
IS it possible to do what I need Without passing variables via the url? Page1 has all session variables set, calls the iframe command when users presses a button, Iframe loads but DOES not have the Session data that was saved on Page1 -- and IFRAME cannot pass variables via the URL it must be a direct url to the page only Page1.php java used to set the HTML / IFRAME into its Div
Code:
<script> function changeText(){ document.getElementById('iframediv').innerHTML = "<iframe scrolling='no' frameborder='0' margin='0' src='http://mypage.blah/iframe.php'></iframe>";
I have a problem to creating a page with cgi script in perl. I have my registration.html page and registration.cgi script. The form in registration.html is the following:
Quote:
<form action="./registration.cgi" method="get"> <fieldset> <legend><b>Fill up cells to creating your account</b></legend><br/> <label>Name: <input type="text" name="name"></label><br/><br/> <label>Email: <input type="text" name="email1"></label><br/><br/> <label>Re-enter email: <input type="text" name="email2"></label>
I have created a website for a guy with an entrance page. I have written the entire site in PHP excluding the entrance page which is in HTML. The entrance page is literally just an image they drew up and I placed a link in. The problem is that the image is HUGE. I would like to know if there is any way (use JS, PHP, CSS, or whatever) to make this image either auto fit the screen/window or at least auto fit in a range of resolutions? Because if you have a small monitor then you wouldn't even see the actual graphic, just the border.
I did a perl/cgi script for uploading image. The script works, image is iploaded in upload directory, but the problem is: How can I to load and show image in web page?