Using any language (php, java, ruby, python), what's the best way to login to a website programmatically from the server? (for example, login to amazon, jetblue, etc. )
Are there are some frameworks to make this easier?
...
Hello everybody,
I am writing a PHP application targeted at non-geeks, non-programmers. I need to create an option page with a bunch of "options" and then store those options...somewhere. Using a database application (MySQL/PostgreSQL/SQLite) is out of the question because it will require more configuration than the user needs to do (I ...
I used a form generator to create a simple for me to work with. I noticed that my radial and checkbox buttons didnt seem to be working. EDIT: This is out of my HTML DOC
this is what i have for my buttons:
<tr><td><label><input type='radio' name='gender' value='male'>Male</label></td></tr>
<tr><td><label><input type='radio' name='gende...
Possible Duplicate:
<blink> tag in Internet Explorer
Hai
I have used blink tag to blink a word. It's displays in mozilla. But IE it's not blinking.
How I do this?
I have used
<blink>* New </blink>
Does any one know this?
...
Hey guys,
i am making one website.
In that, their is one section in which i have to do some manipulation on some string, and that string data will come from the database.
The things which i wanted on my string.
First to check How many "<br>" tag character means how many line breaker are their in that string?"
In between that tags[<br...
I have this page I want to link to my drupal site. The page contains a chatroom I customized. However, since I'm still new to drupal, I don't know how to link it.
I tried creating a primary that linked my page to drupal and it did work but when I tried to print (in php) the "$user->name", there came an error since it cannot recognize t...
I have to create a tell a friend section in my web site. How to import gmail contacts using php. any body can help me.
...
How can I get random number from text?
function text_to_number($text, $min, $max)
{
....
mt_rand($min, $max);
....
return $random_number;
}
$rand1 = text_to_number("text1", 1, 1000);
$rand2 = text_to_number("text2", 1, 1000);
So that "text1" always return 476 (for example) in mt_rand(1, 1000), and "text2" - always 241...
Hello,
How do generate unique serial or order number in php without checking against db?
...
I am attempting to create a simple comment reply to posts on a forum using the AJAX function in jQuery. The code is as follows:
$.ajax({type:"POST", url:"./pages/submit.php", data:"comment="+ textarea +"& thread="+ currentId, cache:false, timeout:10000,
success: function(msg) {
// Request has been successfully su...
I have a yahoo currency script in my site but they are taking too much time to load and are slowing my site. Can someone help me to made them caching and refreshing cache every 3600 minutes?
Hope that someone can help me! Thank you in advance!
...
My string is like the following format:
$string =
"name=xxx&id=11&name=yyy&id=12&name=zzz&id=13&name=aaa&id=10";
I want to split the string like the following:
$str[0] = "name=xxx&id=11";
$str[1] = "name=yyy&id=12";
$str[2] = "name=zzz&id=13";
$str[3] = "name=aaa&id=10";
how can I do this in PHP ?
...
Hi
what is session and cookies in php and where it stored
i googled. But i can't find the exact answer.
kindly clarify
thanks in advance
...
Hello,
i have many check boxes all named features, with different values, how do i collect their values in php and whats the best method to save an repopulate the form when its loaded, so tha it will show previously selected values.
thanks
...
Which of the following naming conventions is most used/accepted, or which is most optimal for most projects? I'm having a hard time deciding.
Base class: \Model
Sub class: \Model\User
Base class: \Model\Model
Sub class: \Model\User
Base class: \Model\Base
sub class: \Model\User
So in other words, should I put the base class in the s...
What should i consider when switching a simple(user+pass) login form from http to https?
Are there any differences when using https compared to http?
From what i know the browser won't cache content server over https, so page-loading might be slower, but other that that i know nothing about this.
Anyone has any experience with this thi...
I am getting a a page not found error every time i connect to the database.
On the page of the database i have to login twice, but how can i solve this problem ?
Because i think the problem is that i have to login twice.
...
RewriteEngine on
RewriteRule bharani $ index.php
in my .htaccess file .
The above small snippet throwing 500 internal Server Error ,
...
After some digging around with the Wordpress XML-RPC documentation, it seems that there isn't a way to remotely obtain a "post" (such as a news article) through the XML-RPC interface. The documentation only mentions wp.getPage - if I try and pass in a PostID to this method, it returns:
[faultCode] => 404 [faultString] => Sorry, no suc...
object, contains 'array1'.
$Obj -> array1 [12]; // works fine.
however, dynamically generating that array name - you can't use square brackets...
$var = 'array1';
$Obj -> $var [ 12] ; // nothing. no error, but no result.
I had to do
$ar = $Obj -> $var ; // copy out array
$ar [12] ; // get value in array.
note:
$Obj -> $$var ...