What server are you using, are you trying to send email from localhost.
Just a note remove your email address from the above code. You might get lotsa spam emails.
User Profile
Collapse
-
That should work for you .
http://www.digimantra.com/technology...sing-curl-php/
You can pass the query string in the URL as well.
Thanks
Realin !...Leave a comment:
-
-
Of course generating JSON is the part of problem and that can be done using json_encode() method of php. But how do i transfer it to client side and then use json to sort the divs based on div ids or may be anyother sorting element. As if now i simply want to display this array on a HTML page, may be using JSON.
cheers !!
Realin !Leave a comment:
-
display data with php and then sort with JSON
hiya guys,
Its been long i came here to discuss my problems. Hoep everything is same and i am gonna get quick reply :D
Well i have certain static data which i need to display using FastTemplate and then i want to use JSON to sort that data on the client side.
I wish i could do it with simple ajax, but i have to do it using json only as it has to be client side sorting for performance issues. For example... -
Import address book/contacts from various Mail Services
Hey guys,
First of all, i am really n00b if you talk about ruby and rails, but i guess it is so comfort learning this language that i find myself doing some hell lotsa complicated stuff in just fraction of seconds, for eg streamlined,sca ffold plugins
Well, i want you guys to help me importing the contact from address books of yahoo,gmail, hotmail etc.
How is it possible to do the same ?
I understand... -
hiya
sorry for late update, was outta town actually. I had to use urllib for doing the same, but google app engine wont allow me to download some bulk size files, so i had to drop the idea of importing data thru XML.
However, i found a nice utility called bulkuploader using CSV files. I converted XMLs into CSV using php and then using bulkuploader utility, i just pushed the data in Datastore.
thanks...Leave a comment:
-
hiya all,
I m unable to get a code to fetch XML from a URL link using SAX.
Can anyone please help me in that .. its really urgent
pleaseLeave a comment:
-
hiya laharl,
thanks for the quick reply.. I am using DOM, i will give a try to SAX. Time is no constraint, so what do you suggest now ?
I am not a die hard fan of threads though, i want my code to be much more simpler, if you think SAX can do it without having to use thread, then i would be more than happy :)
waiting for ur reply
thanks :)...Leave a comment:
-
Reading 5MB xml with python
hiya all,
However, the title says it all but still i want to explain it further. I am trying to fetch a xml file which is lying at different size. The file size is like >5MB. So as soon as i write my code, the browser keeps on waiting for the response and in the end it freezes or displays time out.
What can be the work around for this ?
I am using google's app engine, so not exactly core python. And i would like... -
i could get this result
Code:'[10, 0, 5, 1]' outta this code >>> str(random.sample(range(0,11),4))
cheers !!Leave a comment:
-
hiya,
You gotta use AJAX for that, either way you can use JQUERY for the same, its an API based on ajax, lets u do things faster and pretty neatly
cheers !!...Leave a comment:
-
you can make EXE using PHP GTK ..
That is used for making Desktop applications. But securing your source code in web apps is not possible, especially when you are distributing it under GPL. I mean its open source. The only way is, host it on ur server and sell the stuff or have some license etc etcLeave a comment:
-
Open httpd.conf file in your text editor.
Find this line:
Listen 80
change it to:
Listen 85
Save and restart Apache.
Always restart Apache after making changes to a conf file and don't foget to make a backup before making any edits.
now things would work using http://locahost:85
cheers !!...Leave a comment:
-
No replies :O
do i need to post this in PHP forum ? But then its gonna be a wrong section, please help me, its urgentLeave a comment:
-
i always wanted to ask the same question, but in a different swing ..
I want to know if i have a site with bunch of pages having URL pattern likeCode:http://mypage.php?id=90&act=register
http://mypage.php/90/register automatically ?
If no, then how do wordpress/drupal/joomla do it ?
If yes, then why isn't my .htaccess...Leave a comment:
-
Here you go..
[PHP]
echo "<first" ;
echo htmlspecialchar s("<first");[/PHP]
cheers !!...Leave a comment:
-
hey this lil piece of code may help you, if i understood your problem correctly.
[PHP]<?php
$ip="50.160.190 .150";
$str=explode(". ",$ip);
echo "This will always give you the number that is stored in $ip after the second dot and before the third dot ".$str[2];
?>[/PHP]
cheers !!Leave a comment:
-
in PHP5 you can define constructor using
[PHP]function __construct()[/PHP]
this goes with the base as well as sub classes. You should keep in mind, that parent constructors are not automatically called when making an instance of a child class(unlike java).
You can find this thread relevant to parent/child constructor discussion, Here
It would be good/easy if you paste you code in here...Leave a comment:
-
mate this one is simple..
say if you have page.php where u are manipulating the submitted values, then on page. php
[PHP]
/* here is the code where you need to write data manipulation or whatver u want
*
*
*
*/
//then after the data is submitted or you are done with what u wanted you can do
unset($_POST);
//or you can redirect using
header("Locatio n:http://to-a-new-location.com");...Leave a comment:
No activity results to display
Show More
Leave a comment: