I'm asking this question on behalf of another person so some of the explanation may be lacking.
We are trying to read a remote file:
$fd=fopen("http://weather.yahooapis.com/forecastrss?p=90210","r");
This works fine for me on three different servers (with three different platforms and...
I've got a mental block. If I have a table that looks like this...
id, value1, value2, value3, total
1,1,1,1,[?]
2,2,5,4,[?]
3,4,1,1,[?]
What query could be used to update the value in the 'total' column as the sum of each row's value for 'value1', 'value2', and 'value3'?
The results I am...
I have Ubuntu running through the free VMware player on a WinXP host. Ubuntu has Apache running so that I can access files via http://localhost within the virtual system. Is there a way that the host OS can access the HTTP server on the virtual system?
I just discovered that one of my hosting providers has a bad configuration of PHP/Apache. Using PHP, I am able to navigate to other users' directories in the shared hosting environment. I can even access the root file system. While I can read/view most all files and folders, I can only modify...
I'm doing a security assessment for any unintentional doorways that might allow PHP to upload files to a server. To search for a file upload function, would I only need to grep for "$_FILES" or are there other things I should search for as well?
The goal is to search for all PHP scripts that...
Is this possible? How?
I have seen a few articles that note vulnerabilities in apps where HTTP_X_FORWARDED_FOR is preferred over REMOTE_ADDR ( http://seclists.org/bugtraq/2004/Apr/0235.html ). I have seen other articles about spoofing HTTP_REFERER but nothing about spoofing REMOTE_ADDR...
I know my PHP and MySQL but am pretty weak on Javascript so I rely on existing frameworks and snippets to get me by. I am currently looking for a way to sort and group elements.
A step in the right direction seems to be found at: http://www.cyberdummy.co.uk/test/dd.php
But what I want to do...
My web host was purchased by another company and service is failing. I'm finding my web pages sometimes take 30 or more seconds to load. Other times, they load instantly.
My own internet connection is fine as I can access any other web sites with no problem.
Can anyone recommend any tools to...
I'm stumped... What would be the SQL to order column 'a' as ASC but then column 'b' as DESC?
Example:
columns a:b
1:a
1:r
3:g
2:w
2:j
3:e
1:m
Ordered output should be as:
1:r
1:m
1:a
2:w
2:j
3:g
3:e
There is an application server at an address like http://secure.theirdomain.com. This domain is used by a small group for company operations. It is not intended for the public but it is not a problem if the public stumbles on to it. It is a problem if Google has indexed this page and...
I probably have 10 hours of experience with Visual Basic 2005 Express Edition so please excuse my ignorance.
I need to mock up an existing RTF file in a license agreement form. I have dropped the RichTextBox control on the form but I am lost where to embed the source RTF file. Can someone...
Advice would be appreciated...
My mouse locks up sometimes and I have to restart the computer to refresh it.
When the mouse locks, I can still use the keyboard so I am able to save all open documents before restarting.
If I set my form to only accept input from itself via a page referrer check, is there a need for CAPTCHA image to prevent form spamming?
Or from the other way around, how would someone spoof the referring/requsting page to make it look like the original form?
I'm lost on the need for CAPTCHA...
I have a USPS zip code table that shows zip, city, state, latitude, and longitude. I hope to allow a person to enter a zip code to find other locations near them. While I can play around with formulas of latitude and longitude for proximity searches, I want to keep things simple by searching a...
Please excuse my stupidity. I come from a background of raw SQL and find the user-friendly GUI of Access not so friendly to me.
I am creating a form with a combo box that displays the distinct types of orders (online, store, phoned, faxed, etc). Once selected in the form, what is an ideal way...
I have a really basic form (index.php) that works in at least Mac Safari and Windows Firefox & Opera. It does not work in Windows Internet Explorer. Suggestions are welcomed.
<form id="FormName" action="index.php" method="get" name="FormName"><button name="button" value="submitted"...
If I want to autonumber a sequence of cells going down a column, all I need to do is drag the corner handle down the range of cells in that column.
If some of those rows are hidden, how do I autonumber only the visible cells? I do not want the autonumbering to fill the hidden cells.
I'm trying to count the number of cells in column A that have data. Some cells are blank. Is 'COUNTIF' ideal? How would you count filled cells of varying data?
I am working on replicating the autocomplete demo on this page ( http://www.papermountain.org/demos/live ) but am stuck on the data that I am passing to the PHP page to generate the XML.
The demo uses Ruby and a cgi script but I am trying to do this in plain PHP. The problem is, since I have...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.