Sorry for the silly question, but I ran across code that used:
<?=$MAP_OBJECT->printOnLoad();?>
<?=$MAP_OBJECT->printMap();?>
<?=$MAP_OBJECT->printSidebar();?>
Is there anything special about <?= over <?php or just plain <? ?
...
Hi, I was testing some data in my tables of my database, to see if there was any error, now I cleaned all the testing data, but my id (auto increment) does not start from 1 anymore, can (how do) I reset it ?
Sorry for any mistake in English, and thanks for the attention.
...
Hi,
Does anyone know if there is a php library, or if there isnt, have any input on how one would go about generating an image via php, from basic HTML element input settings, and CSS 3 gradient parameters.
To give an example on why this would be useful, I have found as of a couple days ago, that laying out the wireframe for a webpage ...
Is PDO for SQL Server support query contain Link Server ? I try using mssql_connect but it didn't work. I have try PDO but it alwas return error on query() method.
...
Does CodeIgniter provide a Debug Mode, for example, when accessing an Invalid URL?
Ruby on Rails does show debugging Messages when a incorrect URL has been given, and the controller is unable to resolve it using the routes map. How would I enable such debugging messages in CodeIgniter?
The profiler ...
$this->output->enable_profiler(T...
Can you give me a php script who return the firts 3 trending topic of twitter? thanks
...
I'm trying to trim some youtube URLs that I am reading in from a playlist. The first 3 work fine and all their URLs either end in caps or numbers but this one that ends in a lower case g is getting trimmed one character shorter than the rest.
for ($z=0; $z <= 3; $z++)
{
$ythref2 = rtrim($tubeArray["feed"]["entry"][$z]["link"...
I have a script that is designed to parse XML postbacks from Ultracart, right now just dumps it into a MySQL table. The script works fine if I point it to a XML file on my localhost but using 'php://input' it doesn't seem to grabbing anything. My logs show apache returning 200 after the post so I have no idea what could be wrong or how t...
I have a default user registration form that cannot change. However my boss wants a second registration form that is laid out differently than the first. I am new to Drupal so some explanation would be great.
Thank you in advance
...
How would i go about creating a php application for my web page that can extract data from my database (i currently get the data in a CSV file). id also like the user to be able to filter the data by certain parameters. can u help
...
How to enable curl in xampp ?
My PHP twitter application needs curl function. But it is not enabled in XAMPP. how to enable it. I found no options for doing that.
...
Is there any way by which I can add keys to superglobals in php without defining the corresponding values to those key?
For example:
$_SESSION['key']='set';//key` automatically gets defined.
But I want to do something like this
add_key($_SESSION,'key')//key is added to $_SESSION array.
Is it possible?
...
I am trying to extract the photo 'stars' rating from .jpg files using php code. My intent is to show the highest rated images as part of a slideshow. I found that using the PHP_JPEG_Metadata_Toolkit_1.11 I am able to get the rating of the file if the rating is set from within Vista (Right click -> Properties -> Details -> Set rating by...
HI guys,
im using zend_amf and flex. My problem is i have to populate my advance datagrid using array collection. this array collection have a children.
example:
[Bindable]
private var dpHierarchy:ArrayCollection = new ArrayCollection([
{trucks:"Truck", children: [
{trucks:"AMC841", total_trip:1, start_time:'3:46:40 AM...
I have a /payments interface where the user should be able to filter via price range, bank, and other stuff. Those filters are standard select boxes. When I submit the filter form, all the post data goes to another method called payments/search. That method performs the validation, saves the post values into a session flashdata and redir...
I need to replace url invalid characters with something url valid then convert it back again.
This is for a search page with a url like http://my.site/search/this-is-a-search, the search form POSTS then the user redirected to the new url.
Php has functions urlencode and urldecode however these do not work at all, and leave invalid char...
how can mail server be implemented on localhost using php.i mean to say that how is it possible to send a mail from local client and response it from local host i.e. client and server both are on same computer.please give me the code for it in php.i am new to stackoverflow so please forgive me if my question is not upto your expectation...
When you type something like "red:Hi:" it will type "Hi" in red.
The following script does not work and I do not know why, (The one who made the sorting PHP function is Graphain, thanks again!)
<?php
function getit($raw)
{
# If the value was posted
$raw = isset($raw) ? $raw : "";
# Split it based on ':'
$parsed = explode(':...
I have a site that uses cURL to access some pages, stores the returned results in variables, and then uses these variables within its own page. The script works well except where the target cURL page has a header('Location: ...') command inside it. It seems to just ignore this header command.
The cURL command is as follows...
//Load re...
I am running a virtual server in the US.
I am trying to get my eclipse machine at home (outside the USA), to connect to the USA server.
I have setup Zend on the server. When I run phpinfo() I get the following zend output. Note: 1.2.3.4 will be the external WAN IP address of my ADSL router at home.
Directive Local...