HTML - How Do I Write This Using The Get Or Post Method?
1.Modify your web pages to obtain user input using the GET or POST method. Pages that should be modified include the:
a.shopping cart, b.order form, c.and the user administration page. In particular, add code to add, delete, and update customers. 2.Pass this information to another PHP page. Similar TutorialsHello, I have tried to create my own post method script, but I seem to be running into problems every step of the way. I have an HTML based website, that will support PHP. I am trying to create a script to where someone can create and submit a weather forecast with Sky Conditions, highs lows and it would be posted to a "weather" page on my site. The main thing I need help with is how to make my own "Method to POST" my forms on my weather page. If anyone would be a help to me please PM me or reply to the thread. Thank You. Hi, Please can anyone tell me what is advantage of Get method over Post method.I read Post method is safe,no limitation on output characters so i want to know when post has so many advantages what's the use of Get? I was looking at w3schools.com and was reading about <Form> but i found a line that i dont know what means so i wanted to hear if U guys could tell me the meaning in some other ways so i might understandt it The line is this: This method sends the form-data as an HTTP post transaction... I dont understandt what they mean with the HTTP post transaction. THX U for the help http://www.jabproductsonline.com/test/default.html At this site I have a web form that has two steps. Each just gets information, but the second step doesn't ultimately post to the url it's supposed to go to. What's up with this? I have the same type of web form working elsewhere (orange.977mb.com) but this one doesn't seem to want to work. It's posting to a https site, but you can see the code just by going to the web form and checking it out. If you fill in the information, make it clear that it's testing stuff Thanks! Hi All - I'm new to the forums and also somewhat new to web development. I'm trying to scrape together a website for my wedding and have managed my way through most of it, however the RSVP form is killing me. I believe the page is working fine with FF3 - at least it does what I want it to do. In IE7 however, when the submit button is pressed IE appears to hang, and status bar reads "waiting for rsvp2.php". The page never appears, however the file creation on the back end does complete successfully, so it IS doing something. I have changed the form method to "get" and IE seems to proceed normally, but I don't want to use this as a permanent solution. The URL is below and any help would be greatly appreciated. If there isn't enough information please let me know! www.nikiandzack.com/rsvp.php Thanks, Zack Hello all mates! I am working with my forum trying to properly edit the html for the posts so that they will display any custom script/html of my choice. I want this to appear in ONLY the first post in every thread. I am also trying to find out how to make a bot that automatically posts another second post in every thread, with my own custom scripts/html. At the moment I am trying to add some adsense ads this way. What I am looking for is two things: 1 - How to get the adsense ad aligned to either right or left of the text within the first post. 2 - How to get an adsense bot autopost an ad as post number 2 in any thread (including being applied to all threads already existing) I am using IPB3. I previously used Adsense Bot for IPB2, and that worked fine, but it is not supported for IPB3. It uses the Universal Mod Installer, and in IPB3 there is a new "hook" feature to ass custom mods etc, but I do not know how to alter the code for the Adsense Bot to work with IPB3 so I am trying to get it done from scratch by adding codes directly into the templates. If anyone know how to configure / modify the old Adsense Bot to work with IPB3 that would be great of course, so I am attaching it here just in case someone wants to take a look at it and its documentation and scripts. But primarily I am looking for the two mentioned features, one is how to get the script running in ONLY the first post of every thread - at the moment I got it running, but it is global and implements into all posts not only the first. I also have figured out how to make a script appear, such as an ad, between posts, but not after ONLY the first post, nor how to make a bot that posts a post just like any member, which is what I am really looking for when it comes to that part. This is the code I have entered into the topicViewTemplate in Topic View: Code: {parse template="aip" group="topic" params="$post"} <div style="display:block;float:right;margin: 0px 10px 0px 0px;"> <script type="text/javascript"><!-- google_ad_client = "pub-3737464431076938"; /* forum posts large recnt */ google_ad_slot = "6548059149"; google_ad_width = 336; google_ad_height = 280; //--> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> </div> This works perfectly for adding my desired custom script embedded within the posts. The problem is that it gets embedded in ALL posts and not only the first as I would want. Here is a link to my forum for an example on how it looks: http://www.conspiraciesforums.com/fo...ic/3-atlantis/ I know I have to edit/add some code regarding post counts etc to configure it to only affect the first post - my question is how to do that? And as seen, the second post shows the ad as well, here I would want a bot to post a post containing another ad - between the first and third post of every thread (which will be standard members posts). I have messed my brain with this for more than a week now trying different things, looking around at forums, googling, trying scripts and so on, mods etc, but as of yet have not found the solution to these things for IPB3. Any help here would be extremely greatly appreciated and I'll buy you a beer if you're ever around my part of the world! :p Thanks and bless you! -M Hello, I'm trying to make an application for login at neobux.com. with livehttpheards (mozilla addon) I got this: https://www.neobux.com/m/l/ POST /m/l/ HTTP/1.1 Host: www.neobux.com User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20100101 Firefox/12.0 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Language: en-us,en;q=0.5 Accept-Encoding: gzip, deflate Connection: keep-alive Referer: https://www.neobux.com/m/l/ Content-Type: application/x-www-form-urlencoded Content-Length: 881 lge=65ABC63868BD65BFC5DCB89221A13BB7B892ED5B2038F58935EA883BF03FFA1BFF220E89AD6CC2728C0CBFB217DC353E 6180269EAC32F080C7C7A70BE7BC167F5E32DDD279C8A4A6BE6FA8CD961E4E24179053237E2973A54ECDFAB3333982826F08 3B69C87EA38F4CF89A9E68847667972851E830B9D4E3714B91C49F25941303F610253FC4F1D5D2F97A557B935A35DB3FB349 182B8EF6E39DA97A429191D229FE15F9E766D75FAAE62F34AC68BF44248D515B91FC122C32B75C2904976FFE65A102316BC9 E6AC093D2842787F18873F3B79646BE664CF6B3406C5032CC334887CF430093C5B1F445896D69BB2FB8ED491D4EC0CE65F8D 5687EF47447166D2248D515B91FC122C52BB4F3594BF96347D2B89BBF2A9386EFFDD2DF4F77523ACC9C16831360FBF7D39BC 018158A675A154ACCC586CDE15B535E503189F21E28610AE9A22750590A6B1B848FCE50AAE73D9E824B4D6652178900E4A84 6B6FAF2E& ACA21FB2C4E0BDE5AC87F7643AD4544E 1 = USERNAME & AB1E22E233711912AB202077872D6BC0 0 = PASSWORD & A748E20A58DE19B36C84D15E1FBE0B92 6 =& A59D16F03D043AFD46D4C847786052D2 0 = CAPTCHA &login=1 from source code i've get this: input type="hidden" name="lge" value="65ABC63868BD6....78900E4A846B6FAF2E" <- all this numbers and letters berfore green chars. <input type="text" name=" ACA21FB2C4E0BDE5AC87F7643AD4544E " id="Kf1" <- username <input type="password" name=" AB1E22E233711912AB202077872D6BC0 " id="Kf2" <-- password <input type="password" name=" A748E20A58DE19B36C84D15E1FBE0B92 " id="Kf4" <- secondary password <input type="text" name=" A59D16F03D043AFD46D4C847786052D2 " id="Kf3" <-- CAPTCHA. please note, that those values are changed on each page refresh (that is not a problem). the problem is, that I don't know from where to get those red values after username,password, secondary password, captcha..; also that values are changed as well on each page refresh. any ideas? Thank you. PS: If I opened this thread in a wrong section, i'm sorry. Hi everyone, I'm new to the community of HTML Forums. I need a DataBase Software or some other way that can collect E-Mail and personal information from subscribers in a HTML/CSS Website i'm building. This program or method must also have good marketing features like sending batch E-Mails, images and many things. I would really appreciate your feedback. I am looking for the most efficient way to put text over a picture. I have a background image that i want to place text over that has to stay in the same spot and same size relative to the image that it is on top of. There are a couple ways i can think to do it. 1. Would be to use an iframe where i want the text to be placed 2. Use css to position the image and the text relative to one another. I am not as familiar with method number 2. If anyone has any ideas on the most efficient way to do this that would be great! This will be my first website, aside of simple projects from my school class. A friend of mine has a website that is currently already up an running. He would like the site completely re-done, as he moved his company, has new offers, etc. Is the best way to do it, to re-write/edit from scratch, or to use a free website builder? I have beginners html/css/Javascript writing knowledge, and have been searching online when I need help. Let's say he already has a website called www.5star.com If I use a free website builder, will I be able to transfer all that to his domain name he already has so it doesnt become something like www.freewebsite/hostme/5star.com ? He is getting the FTP info from the guy who originally made his site. Thank you. (I have been working it from scratch and have a lot done, but want it to look great, and not just a plain static site). Hello, This may be a stupid question, but does anybody know how, if it is possible to submit a form by using just a link? In this situation, I want to submit a form without using a submit button. If anyone can help, that would be great. Hi, I'm new to xml. I have a cgi application which writes out a html page. Now I need to display the page with xml tag. So my cgi code takes an input, and writes out Code: cout<<"Content-TYPE: text/html\n\n"; cout<<"<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?>\n"; cout<<"<disease cnt=\"2\">\n"; cout<<"<name>heart disease</name>\n"; cout<<"<name>breast disease</name>\n"; cout<<"</disease>\n"; At the web site h..p://......./disease.cgi?term=heart+disease+breast+disease It only displays "heart disease breast disease" on one line. If I save the ouput to a file test.xml, it displays <disease cnt="2"> <name>heart disease</name> <name>breast disease</name> </disease> This is the display I want. How to get this display by calling that cgi program? Thanks a lot for any help!!! I need this map so anyone can can create there name and email and for it to stay on my site .thank you very much. Ron http://www.mapofstrange.com/ bro can u please help me in making my web page efficient.........i want 2 form method refer to the same html page with different functionality. I am unsure which of the below methods of embedding a flash object into a web page is correct - and which is a deprecated method. Any help would be very much appreciated! Method one: <object width="800" height="480"> <param name="movie" value="Gallery.swf"> <embed src="Gallery.swf" width="800" height="480"> </embed> </object> -- Method two: <script type="text/javascript"> var flashvars = {XMLFile: "gallery.xml"}; var params = {bgcolor: "#000000"}; swfobject.embedSWF("Gallery.swf", "myAlternativeContent","800", "480", "9.0.0",false, flashvars, params); </script> <div id="myAlternativeContent"> <a href="http://www.adobe.com/go/getflashplayer"> <img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player"/> </a> </div> Hello all, I am very new to HTML and PHP coding so could you please bear with me. All I am trying to do is write a string to a text file, and I have tried many examples. Alot of them seem to be similar to this code and it doesn't seem to want to work... Code: <HTML> <HEAD> <SCRIPT language="JavaScript"> function WriteFile() { var fso = new ActiveXObject("Scripting.FileSystemObject"); var fh = fso.CreateTextFile("c:\\MyFile.txt", true); fh.WriteLine("Some text goes here..."); fh.Close(); } </SCRIPT> </HEAD> <BODY> <P> <SCRIPT language="JavaScript"> WriteFile(); </SCRIPT> </P> </BODY> </HTML> What I do is I put this code in Notepad, save it has hello.html and I then open it in firefox. I then check the file and its still empty, then I open in it Internet Explorer and the same thing happens. Any help appreciated. Ok I'm still really new to HTML with no bad habits & would like to use a program that is really easy to use & geared toward function-ability. I've been using notepad for my HTML I would prefer to steer away from DreamWeaver as I dont plan on using a WYSIWYG So what are my other options for great programs to write HTML in? Thanks I sliced my site in Photoshop and imported it to Dreamweaver. The table is correctly in the center of the page like I want and everything looks good. I have around 20 different slices in my desing and I want turn some of them into "background" so I can write over the image that's inside that part of the table. I also want to turn every table that are showing the background image so they act like the background image (I think this is done same way). I mean, when you right click properties from the tables now, it shows the url to the .jpg file, I want that it shows the site url (.com). I just started writing code, and currently use notepad++. I then use XAMPP to see my code in action. Any better free programs to do all this? Super new to this, and these are the ways my teacher gave. thanks! is it possible to configure my htaccess and htpsswd file to require authentication if you want to write to a .txt file using php, but let anyone simply read the data off of a dynamically linked swf? i have a flash site, and the text is dynamically loaded in with external .txt files, and i have some .php files where you can go to update the site that pulls the info off the .txt's to display in a form, then you can edit and submit the changes to be written to the file. thanks for the help! |