I am looking for an SMS Gateway service provider with a PHP API that allows me to:
Send out SMS messages (including small binaries) to mobile phones
Receive SMS messages from mobile phones
Send reverse billing SMS text to mobile phone
Messages can be sent/received to/from mobiles globally (or at least most countries)
Allow bulk sending...
How can I know during runtime that my code threw a Warning?
example
try {
echo (25/0);
} catch (exception $exc) {
echo "exception catched";
}
throws a "Warning: Division by zero" error that i can not handle on my code.
...
I need to increase max post size and upload size for php to use the audio module of drupal. I read this has to be set in php.ini. However I don't think I have access to that file in lunar pages. I also read it can also be set in .htaccess. However it doesn't change anything.
I tried:
php_value post_max_size "40M"
php_value upload_max...
Is there any open source web client php application without popup server configuration ,
Am looking open source web client application ,
I dont want imap, pop3 or any protocol suppert application ,
Simply i want intra net message service applications ,
Thanks
Bharanikumar
...
The following code will add the categories selector widget to the WordPress Page editor interface...
add_action('admin_menu', 'my_post_categories_meta_box');
function my_post_categories_meta_box() {
add_meta_box('categorydiv', __('Categories'), 'post_categories_meta_box', 'page', 'side', 'core');
}
What I would like to do is to fi...
i got this code
$current_path = str_replace('\', '/', getcwd()); //c://xampp/htdoc
Why it fail replace '\' with '/' in directory patch ? why is the reason and how to handle this problem ?
EDIT This code use to return path (or something like that) use with HTML TAG base.
$current_path = getcwd();
function get_basepath() { ...
Im sure if the title is exactly what I am trying to describe so sorry if it isnt.
Ok here is what i am trying to do:
What i want to do is create a function that you can enter unlimited ammount of coordinates ( the blue dots) and then it will create a shape like so and then return all coordinates the shape covers. Because this is for ...
How do I apply a parameter to a select and order attribute in a xsl:sort element? I'ld like to do this dynamic with PHP with something like this:
$xsl = new XSLTProcessor();
$xslDoc = new DOMDocument();
$xslDoc->load( $this->_xslFilePath );
$xsl->importStyleSheet( $xslDoc );
$xsl->setParameter( '', 'sortBy', 'viewCount' );
$xsl->setPar...
Now I got this code;
<?php
$file = "pain.png";
if (file_exists($file)) {
header('Content-Description: File Transfer');
header('Content-Type: application/octet-stream');
header('Content-Disposition: attachment; filename='.basename($file));
header('Content-Transfer-Encoding: binary');
header('Expires: 0');
header...
I need to display on my page a list of records pulled from a table. Ajax works fine (I query the database and put all the data inside a on the main page) but if I have lots of records (say 500+) it will hang until data is fully loaded, THEN it will be sent back to the page and correctly displayed.
I would like to be able to display the...
I'm working out an algorithm to get permutations like
123
132
213
231
312
321
I'm doing it using nested foreach loops.
for (..) {
for(..) {
for(..) {
echo $i . $j . $k . "<br />";
}
}
}
Problem is those # of nested loops are optimized for 3-spot permutations. How can I could I dynamically set ...
Hi all,
I've decided to develop a database driven web app, but I'm not sure where to start. The end goal of the project is three-fold:
to learn new technologies and practices,
deliver an unsolicited demo to management that would show how information that the company stores as office documents spread across a cumbersome network fold...
Please look at this image
here is 3 tables , and out i want is
uid from table1
industry from table 3 of same uid
count of fid from table 2 of same uid
like in the sample example output will be 2 records
Thanks
...
Hello all,
I have found a class I would like to use to get bookmarks from a users delicious account. Here is how it is used.
The problem I am having is, should I be turning this into a Codeigniter library? Can I not use it on its own as this is self contained? I am guessing I am asking for the best practice here.
Thanks all for any he...
I have a field with enums: 'preview','active','closed'
When I query like this:
$query = "UPDATE albums
SET album_active = preview
WHERE album_id = 3";
$result = mysql_query($query);
if (!$result) die('Invalid query: ' . mysql_error());
I get
: Invalid query: Unknown column 'p...
I am trying to compare a value which was grabbed using the get method in a form and then passed into a xslt sheet. I named the string variable passed in browse. I want to check if the variable browse has a string value browse.
the code is below
<xsl:if test="$browse = 'browse' ">
<A>
<xsl:attribute name="href">searc...
hey i want to make a thing but i need some help.
ive got an index.php with codes. and i added "file" parameter to index.php. so i mean if "index.php?file=/folder/folder/picture.png" is set, go to file. if "file=" not set do not do anything.
I get "file" parameter with $_REQUEST thingy. please help thanks..
...
Hello all.I have a simple jquery/ajax request to the server which returns the structure and data of an array. I was wondering if there was a quick way in which I can use this array structure and data using jquery;
A simple request;
var token = $("#token").val();
$.ajax({
type: 'POST', url: './', data: 'token=' + token + '&re=8', c...
i got this multiple array name $files[], who consist keys and values as below :
[0] => Array
(
[name] => index1.php
[path] => http://localhost/php/gettingstarted/
[number] => 1
)
[1] => Array
(
[name] => index10.php
[path] => http://localhost/p...
Hi,
I've been trying to implement OAuth in my iPhone app. However I have hit a problem. I have two servers, a local web server which is on my machine at home, I use this for testing. The machine is IIS 7 running PHP 5.08. Everything works fine on this server.
However my live (web server) is running Apache and PHP 5.12. The problem is w...