I've noticed that some sites (including http://jobs.stackoverflow.com) have query strings that look like this:
http://somewebapp.example/?123
as compared to:
http://somewebapp.example/123 or http://somewebapp.example/id/123
What are the reasons that developers choose to implement their web apps' URLs using the first example instead...
Hi, I have an inline frame within a form. The inline frame actually contains the form element which is generated programatically (a radio which holds a value). How can I retrieve that value hold by the radio from the page which contains that inline frame. Any idea? thanks for reading
...
The Python program I'm writing needs to start a local PHP script outside of Python's process. The program also needs to pass params to the PHP script. So far this seems to start the script:
os.system( path_to_script_here param param )
However, I'm pretty certain that Python remains running until the PHP script is complete.
I've als...
Hi,
Want to add a Login/MyAccount widget to the sidebar in Magento. Is there an easy helper method I can call to do that?
Basically, want users to be able to login from the sidebar. And if they are logged in that widget space should be taken up by a My Account widget.
thanks
...
hello
I want to create a special php and javascript page, but I want it to use my Wordpress theme that is already installed. How to do that?
Thanks
...
Hi there,
I work at a datacenter and I'm in the process of writing a php tool that maps all of our devices and can tell us if what is out there is what is being billed for.
It first pulls a huge list of macs and their ips from both of the cores into a temp table. Then, it loops through all of the racks* and attempts to find which port ...
How to do OOP Based Web Design in PHP?
May be you could link to me a post containing a tutorial or reference to Design Web in OOP Fashion?
...
Working with the Facebook php SDK's, I am having a lot of trouble figuring out how to delete comments, given its id and xid.
At first I was using the REST API, where you can call 'comments_remove($xid, $id);' to delete a comment. The problem with this method came when the xid parameter only accepts alphanumeric characters and underscor...
I am trying to implement file upload with jqgrid (in a Zend Framework project). jqgrid allows you to create an input field of type "file" but does not enable ENCTYPE=“multipart/form-data”.
The creator recommends using another plugin to handle file uploads, specifically Ajax File Upload. He says to initialize it using the onInitializeFo...
Hi,
I'm using the Imagick PHP wrapper for ImageMagick. I've noticed there are some ImageMagick commands that are not available in the Imagick wrapper, such as autolevel and normalize.
How should I go about calling these? Couldn't find anything in Imagick. Are there disadvantages to calling the ImageMagick commands directly through the ...
I am new to PHP and would like to learn. I am limited to running on Windows and need advice on getting setup. Which IDE should I use? Are there any development servers similar to the one included in Visual Studio? What other general advice do you have?
...
Hi,
I'm currently developing a large site that handles user registrations. A social networking website for argument's sake. However, I've noticed a lag in page loads and deciphered that it is the creation of objects on pages that's slowing things down.
For example, I have a Member object, that when instantiated with an ID passed as a c...
So I'm using CodeIgniter to build a website and I've made it so that all my specific settings are stored in a config file that's automatically loaded.
I've also built a page that loads the settings file, makes a nice little table and allows me to edit everything from that page, afterwards it saves the entire page again (I know I could've...
It may seem stupid question, but i've a serious problem...
if you could check out orcik.net the thumbnail images does not appear.
I figured out the reason but I don't know how to solve..
http://orcik.net/projects/thumb/orcikthumb.php?src=http://orcik.net/wp-content/uploads/2010/05/mac-safari-search-cache.png
If you go to the above li...
This is my pagination script which extracts info for my TV guide project that I am working on.
Currently I've been experimenting with different PHP/MySQL before it becomes a production site.
This is my current script:
<?php
include("pmcPagination.php");
$paginator = new pmcPagination(20, "page");
mysql_...
I have a VPS with Ubuntu OS.
I run solr om my local machine (windows xp laptop) just fine.
I have configured Jetty, and Solr just the same way as on my computer, but on the server.
I have also downloaded the JRE and installed it on the server.
However, whenever I try to run the start.jar file, the PuTTY terminal shows a bunch of text...
I've been looking at the php reflection methods, what i want to do is inject some code after the method is opened and before any return value, for example i want to change:
function foo($bar)
{
$foo = $bar ;
return $foo ;
}
And inject some code into it like:
function foo($bar)
{
//some code here
$foo = $bar ;
//so...
I'll try to make myself clear with an example:
Imagine an admin page to add a product to a database (product list). When I open the ADD ITEM page, the item is not yet created (not until I click the submit button), but let's say I want to add categories this product will appear in (with AJAX for example). When I run the AJAX script, i ne...
Hey Everyone,
Over a year ago I created my own database classes which use PDO, and handle all preparing, executing, and closing connections. These classes have been working great up until now.
There are two different database severs I am grabbing from, MySQL, and MS SQL Express. I am retrieving an employee id from the MySQL server and...
I am a little bit lost. What I want to achieve is:
my own custom button
change onMouseOver etc'
keep it's size
post the information to a php server side code
What I'm missing is:
The post - I couldn't figure out how to combine js & php
The Button size - my code sets a size for the original button but after the rollover it changes
...