I'm not 100% but this ($settings) would be called an array in php:
$setting;
$setting['host'] = "localhost";
$setting['name'] = "hello";
but what's the name for this that's different to the above:
$settings = array("localhost", "hello");
Also from the first example how can i remove the element called name?
(please also correct my...
Hi,
I am working on an application in which user can update his/her twitter status from my application. I am using oauth for letting the user authorize my app to update his/her status.
I am able to verify the credentials, receive the oauth_token and oauth_token_secret. Also I am able to get the user's information. But I am unable to upda...
hey guys, i'm not looking for a mod_rewrite thing or anything related.
i'm just not sure if this is possible or not?
i'm using if(isset($_GET['p'])) … to check if ?p=something is set in my url, if not $foo = "bar"; if a ?p= is set e.g. ?p=something –> $foo = "something". got me?
if i manually enter now ?p=bar to my url the string in m...
I'm looking for PHP class (solution) for generating image thumbnails with watermarks on the fly. Any idea ?
...
I am thinking of "rolling my own" Affiliate marketing system - using either PHP (or more preferably, Python). I am relatively new to Affiliate marketing, so before I get started though I wanted to make sure that I had covered all bases, and was also not reinventing the wheel (in terms of there being a good open source [Python based] syst...
Hello. I have the following yml configuration for Doctrine under MySQL:
Designer:
tableName: designers
columns:
id:
type: integer(2)
name:
type: string(30)
notnull: true
Item:
tableName: items
columns:
id:
type: integer(3)
unsigned: true
primary: true
autoincrement: true
...
Hi
How to create digital clock using PHP (london time zone)
sample clock
Am looking this sort of one clock,
ther is a possible with ajax and php to we display similar of clock and date..
Thing is .it require too much of ajax,java script functions
...
Hi,
I have installed php5.3.2 and MySql on Ubuntu 10.4.
Now how do I add or download php_mysql.dll to add mysql support in php ?
I have visited MySql Download page, but I don't know what to download.
Can someone point me in a right direction ?
I am not sure, if this question might fit in Superuser.
Thanks.
...
Hello people, I have a problem here, which I have been thinking about for the past few days.
In a php application to do something with a object you need to:
define it
run a function with it
like so:
(with autoloading, and a registry object)
$registry->obj = new mathClass($var1,$var2); //creates object where $var1 holds the a database o...
Can I access My own Database(on my server) using Facebook API's or its just not possible as Facebook wont allow to use Database from other web server.
I want to create an facebook application that will take all the info from friends profile and save it in my database(i.e on my server).
Actually i have not worked on any Facebook applicati...
I need to rotate some existing JPG images. They have already lost some detail, but I now want to rotate them and lose no further detail.
With a little research, it seems the only lossless Image rotation library for PHP is by using the jPegTran library.
Are there any other options when it somes to doing lossless jpg rotation?
Thanks!
...
hey guys,
wondering what i'm doing wrong. first time i'm using this function. i'm inside of PATH and i want to create a folder inside of PATH. i wann check if the folder already exists, if not create one. getting the name of the folder from an inputfield with name of "dirname".
if (isset($_POST['createDir'])) {
//get value of inputf...
PHP mico time , i want to process my application using microtime
...
Hi all,
I am doing one project in that if user want to buy computer or books then he just put information about that and we provide the prices of that given information.
So how can it possible using php? Is there any third party api, provide this type information please reply me.
Thanks,
...
Possible Duplicate:
Adding Facebook Like button to fan page
I have a Facebook page to advertise my company. I want to insert a button that looks like a Facebook "like" button using xFBML. How can I do that?
...
Is it possible to make my class file be already included in all files of a folder?
...
I still don't understand how I should handle my form input errors within an mvc. I have f.e. the a zend-like controller and a form class and so on.
But where do i include my form file which is not generated but only with pure html
<html>
<title>User-Registration</title>
<head>...</head>
<body>
<?php (if($errors)) { ?>
<p ...
Hi all,
My website allows users to upload photographs which I store on Amazon's S3. I store the original upload as well as an optimized image and a thumbnail. I want to allow users to be able to export all of their original versions when their subscription expires. So I am thinking the following problems arise
Could be a large volume ...
I have a text document that lists urls with their subject and an email address. I need to extract all urls with their subject and the email address and put this all into a csv file. I just need to know how I can use regex to do this. Currently I am able to extract all urls but I need the email and subject associated with them. This is wh...
Is multiple upload secure in php? How can I prevent security holes?
Thanks in advance
...