473,326 Members | 2,255 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

./index.php?data & ./?mydata

Atli
5,058 Expert 4TB
Hi.

I've been using Apache untill very recently and Im used to pass GET data without pointing to a filename... wich would make the url go something like this.

http://localhost/mypage/?mydata=somedata

this works fine in apache but the IIS server doesn't seam to realize Im passing this to the index file and gives me a 405 error.

To get this to work I would have to do something like this.

http://localhost/mypage/index.php?mydata=somedata


Anybody know how I can fix this?
Jan 24 '07 #1
2 2231
radcaesar
759 Expert 512MB
In IIS, you have to specify the index.php

In Internet Information Services

Goto MyProject --> Properties --> Documents tab

Add that index.php

now access it like this

http://localhost/MyProject

:)
Jan 24 '07 #2
Atli
5,058 Expert 4TB
Hi

Thanks for the answer.
Thats not the problem here. I already figured that one out :P

After testing this a bit more I found that this only happens when submit a form using POST, but also specify GET data.

This would cause the 405 error:
Expand|Select|Wrap|Line Numbers
  1. <form action="?data=somedata" method="post">
The 405 error is "Recource not allowed" so Im guessing IIS can not pass both GET and POST at the same time? Wich would be very very stupid.

But as far as I can see passing either POST or GET seperetly works fine.
Jan 30 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: dougjrs | last post by:
I am working on a program that accepts data from a web form like this: Parm Value Doug Doug Doug_age 40 Doug_phone 111-222-3333 Kelly Kelly Kelly_age 42...
8
by: Oliver Gerlich | last post by:
Hello, I want to transfer messages between a client and a server (over TCP sockets). A message consists of a message type (like a message "subject" :), the size of the attached data, and the data...
9
by: Tyler | last post by:
I am attempting to extend a legacy VB6 application by making it use a .NET component written in C# exposed through COM interop. Everything appeared to be going well (VB application creates the...
4
by: William | last post by:
After much frustration I was able to update my data store via code only. Using the data adapter was the only way I was able to set up all the objects written in my code. Basically, I cheated by...
1
by: samseed | last post by:
Hi, I have a delimited string that I would like to load into a data object. Here is what I have so far: //single string of data; each record is delimited by "%" //and each value within each...
3
by: Mike - EMAIL IGNORED | last post by:
MyClass { //I have a static member method: void static myMethod(); //and a static data member: static MyType myData; }; //In the .cpp file: void MyClass::myMethod()
3
by: DMcN | last post by:
Hi, I've set up a form in flash which will send data to a PHP file on my web space, which in return will return the data from the textfields to my e-mail address. I know PHP is enabled in enabled on...
5
by: countnazgul | last post by:
Hello, I've got very odd problem. I use windows application to store files in data base (MySql) and then to extract this files from data base and save it on hdd. But when i save them back to hdd...
22
by: sivadhanekula | last post by:
Hello Everyone A quick and direct question: I need a C/C++ program to extract the data from the database and the output should be in CSV "Comma Separated Value" format. Briefly: I will be given a...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.