I working on a custom 404 page and keep getting a 500 error from IIS7. After doing some research I found I need to set "Response.TrySkipIisCustomErrors=true;"
Where do I set that value? Can it be set in anyway with php or within the web.config file?
my 404 web.config code is:
<customErrors mode="On">
<error statusCode="404" redire...
My membership script is working except this one file. When I type username and password in the login form the check.php gives me this message "Please enter all information". The only information on the login form is username and password. The action of the login form is posted on check.php
I need this script to check the username a...
Well this is an old issue I've been dealing with and still no solution, so trying a new approach.
How can I send th SOAP response early (Before script execution ends)?
These issues are cause when the ACK file is not sent before 30 seconds as the process takes longer to complete then the allotted time.
flush() not working, get this err...
Last week I converted my page img src values from pointing at image files to using a PHP script to serve up the images. The primary reason was to accommodate both files and database BLOBs as the actual source.
Now when a user goes to a page, sometimes images show and sometimes not. If not, and the page is refreshed\reloaded, then the im...
Below are the queries I am executing. But for some reason $MachineQuery is not getting a result. I assume it has something to do with using $q1 in the query but I don't know why.
Any Ideas?
$q1 =mysql_query("SELECT DISTINCT SymptomID
FROM Tree
WHERE SymptomID NOT IN (SELECT DISTINCT SymptomID
FROM Tree
...
I've seen something like this:
echo ($hello->somethingA->somethingB);
What does this mean?
I will try to make my question more clear:
When we have $domain->something; (we are accessing something PROPERTY of $domain OBJECT. precise?
When we have $domain->something->run(); we are telling our something PROPERTY of $DOMAIN OBJECT to ...
Hi,
I have a program that returns a comma-separated string of numbers after doing some background processing. I intended to run this in symfony using shell_exec; however, all I get is NULL (revealed through a var_dump(). I tried the following debugging steps.
I ran the file (it's a PHP class) through a command-line lime unit test in Sy...
I'm trying add a bold/strong tag the line headings of the follow string/text block:
Length Determination: the dimensions
above show what center-to-center
length can be achieved by the
connecting linkage length shown for
male spherical rod ends.
Material: aluminum.
Specials: specials are available at
any volume.
...
In a PHP MVC framework, how can I cleanly and elegantly exit from the current controller/action, but continue normal script execution?
For example, let's say my framework normally follows this outline:
Map URL to Controller/Action
Instantiate Controller, call Action (capturing output)
Do stuff
Render View
At end of Action method, con...
I want to append: selected="selected" to an option in my dropdown if my session value is equal to the value of the option.
Example:
if($_SESSION['sms-timezone'] == 'Africa/Abidjan')
append selected="selected" where option value="Africa/Abidjan"
<select>
<option value="Africa/Abidjan"> Africa/Abidjan( +00:00 GMT ) </option>
<optio...
I am trying to make a script that lists only folders within a folder. The thing is that I have users who can create folders within their folders so basically what I'm trying to do is to have a way for users to manage their folders and storing files... My problem is that I want to make php "think" that the root folder is their home direct...
Just a quick question:
I'm working on revamping a script that serves vehicle inventory to users.
The site receives thousands of hits per month with many pageviews per visitor.
My question is this:
I am going to have 7 images for each vehicle in the new system.
1 Main Product Photo
6 Interior Extra Photos
The 6 extras will be viewed a...
Hy I have a html page in witch I want to open a php page via shadowbox, the problem is in IE 6/7/8 the page is loading but it is not displaing, it works perfectly in FF
this is the hole page, the problem occures when you click on [email protected] at the bottom of the page. I have tried using colorbox and thickbox
<!DOCTYPE H...
Hi,
I'm having a problem with encoding from a wordpress feed that I just can't seem to figure out.
I was loading my feed with DOMDocument->load but then did a file_get_contents and am now using ->XMLload with the same results. I did the XMLload so I could manipulate the feed if needed.
The correct output that I'm looking for is - ‘ £....
I've a php web page with a form. After filling the form in web page, I can submit it to the server. But after that, if I refresh the page, it inserts the same record to the database. Is there any solutions to this problem?
...
I installed PHP recently but when I try to create code in notepad and save it, my browser cant read it (the page comes up blank). Do I have to save the file in a specific directory to make it work? Please help! Thank you
...
hi,
I am trying to find a date picker that can show dates to select starting current date so that the users don't select the past date and I need not worry about validating. I am not sure if this will show the correct date for any one from any place. I found some plugins but none of it has this option.
I found this http://jqueryui.com...
Hello,
I'm wondering; lets say you start an object in a new class; at the beginning of your app.
If you later pass that object into another class; as a variable and add/modfiy something on it. Will it be updated in the original object and its home class?
Or does it become a 'new' object, a different object in a new class? And will it ...
I am attempting to write some jQuery code that will expand a paragraph when a link is clicked and once expanded present another link that will allow the paragraph to be collapsed. These paragraphs are all generated within a foreach loop and I am having trouble selecting the correct paragraph because I am not sure of the best way to crea...
I have a node view panel that overrides nodes. My variants are setup to only override certain content types. One variant only overrides a specific node.
I am using a php selection rule to achieve this. The node id is 2856. So the url is domain.com/2856 I also have a view setup that creates a feed whose path is domain.com/2856/feed
...