post

Programmatically logging into DotNetPanel using PHP.

I use software called DotNetPanel (DNP) and I'm modifying PHProxy to automatically log into the administration panels for me. I've done this for several other types of software - like cPanel - just fine using authentication headers or POST variables, but DNP uses something I'm not familiar with - ViewState. When I POST the user/pass d...

Multiple Requests with httpClient (appcelerator)

With appcelerator, I am attempting to send a picture with the twitpic demo, I have created 2 text fields and when they are filled in I want to upload the image and those fields to twitpic. The problem with the app, is after I do it successfully the first time, (without closing the app) the second time doesn't send. I need to somehow r...

Pagination techniques for search results from large forms

When creating search forms in web pages, I generally use the GET method. This allow the results to be URI Addressable. It also makes for easy pagination of results in the standard manner. But what about a form with a large number of options and fairly long field names? Using a GET request means that the URL of the results page can actua...

Can't grab progress on http POST file upload (Android)

I am developing an Android app which enables the user to upload a file to services like Twitpic and others. The POST upload is done without any external libraries and works just fine. My only problem is, that I can't grab any progress because all the uploading is done when I receive the response, not while writing the bytes into the outp...

How do I open a new window with POST data from a Gridview's onRowDataBound event, that must pass values from the other cells?

Okay the question is not exactly straightforward: let me explain. I have a gridview, that I have hooked up to a datasource and all is peachy. I need to open a more detailed page for each row, so what would be the best way to do this? Currently I have something like this in the onRowDataBound function: if (e.Row.RowType == DataContr...

Hello Everyone. I am not a programmer but i just needed help with this wordpress plugin

Hello everyone.. I have a blog and i wanted to add to it 'About the Author' bio below each and every post. I was given this code and it does partially work but it has some flows (For example, there is not thumbnail/gravatar image with the bio as it was told me it is supposed to). Please check it out and tweak it if needed. Thanks a MILLI...

POST image on web server problem

Hi Gurus I'm trying to post a jpg image to a web server. I've tested my PHP script at the server and I'm being able to upload an image using a form. Now I'm trying to make a Blackberry application to POST the image to the server using the same script however when I test the Java code, PHP tells me that NOTHING was POSTed, I'm not sure w...

Screen resolution

Hello, how can I replace screen resolution when accessing some site from script? Is it possible to acces such data when own script connects to the server? ...

ASP.NET MVC-2 Post to another website?

What is the best way to POST to another website (so that the users browser is redirected as well) in MVC2? I dont want the user to be able to see the form data simply by using "view source", so I'm not keen on <form action="http://other-site.com/action"&gt; <%= Html.TextBox("something-secret") %> </form> Is it instead possible (...

ASP form action file (FileSystemObject)

Hey, I've got my code to post a javascript array in a form: <form id="my_form" action="file:///C:/Users/John/Desktop/jquery/savetext.aspx" method="post" onsubmit="return prepare()"> <input type="text" id="file_name" name="file_name" rows="1" cols="20" /> <input type="hidden" name="seatsArray" /> <input type="submit" value="Save" /> </f...

Code Igniter POST Variable

Hi Everyone! I am brand new to Code Igniter but I can't seem to find a way to do this in the documentation, In normal PHP you can retrieve the contents of the entire POST variable like this $_POST = $postedVars But I can't seem to find something that does this in the same manner, I've tried $arr = $this->input->post; and $arr = $t...

Cannot store checkbox values in array to database for some reason!

Hi I am having an incredibly hard time with what should be a simple issue. As of CodeIgniter 1.7, '$this->input->post();' supported arrays but I cannot for get the values into the array for some reason. I have 7 check boxes that store into an array 'services[]' as you can see by this example view: <?php $servicesdata = array ( ...

login to servlet over SSL

Hi folks. I currently have a RESTful servlet running that returns json upon receiving a POST query. I would like to implement authentication over SSL, so that the user will first login and send his credentials so the servlet knows what level of authorization it has to return the data, but I'm not sure how to go about implementing this fo...

Posting parameter with Proxy (perl)

my question maybe obscure but its very important for me . I have this perl code : my $ua = LWP::UserAgent->new(); my $req = POST 'http://example.com', [ phd => 'text' , go => 'submit']; $content = $ua->request($req)->as_string; print $content; i want send the parameter (phd => text , go => submit) with a http proxy . what am i goi...

How long do uploaded files stay on your server?

When I use a form to upload a file, it gives me the 'name' and 'tmp_name' and you're supposed to move the file from its temporary location in order to keep it. But how long does the file stay on the server before it gets deleted? Is it stored there permanently until you manually clean up your folders, or does it get deleted once the PHP ...

No POST data being returned when hidden input type is present

I think that there is either an error in my code, or my PHP or Apache is set up incorrectly. When I submit a form with a hidden field in it, I do not get any data in my $_POST array... When I comment out the hidden field in my code, the POST data is returned correctly... HTML FORM <form action='/utils/login.php ' method='POST'> <tabl...

how to use POST method in LOAD function of JQUERY?

hi, i want to load JUST one part of my document,i had to use LOAD function bcause of this,so i tried this function.but i have a problem,i want to set method of this function to POST.i read in jquery manual that this function is using GET method by default,but if your data is an object it will use POST method.i dont know how to do that?i ...

WordPress: Disable "Add New" on Custom Post Type

Is there any way to disable the option of adding a new post under a Custom Post Type in WordPress (3.0)? I've looked into labels and arguments but can't find anything that would resemble such a feature. ...

Parsing Python HTML POST data from BaseHTTPServer

I'm sending a couple of files from an HTML form to my server which is based on BaseHTTPServer. Within my do_POST I'm getting a string from rfile.read(length) which looks like some sort of multipart MIME string. Google is not being helpful on how I can decode this into something usable. The output looks like this : ------------------...

Python URLLib / URLLib2 POST

I'm trying to create a super-simplistic Virtual In / Out Board using wx/Python. I've got the following code in place for one of my requests to the server where I'll be storing the data: data = urllib.urlencode({'q': 'Status'}) u = urllib2.urlopen('http://myserver/inout-tracker', data) for line in u.readlines(): print line Nothing...