Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > Web Development
You last visited: Today at 20:46

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



cURL - Wie erstellen?

Discussion on cURL - Wie erstellen? within the Web Development forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jul 2012
Posts: 208
Received Thanks: 8
cURL - Wie erstellen?

Hallo,

Wie kann ich so dynamische URLs erstellen.
Example:

/register.php?step=1
/register.php?step=2
/register.php?step=done

und halt für Benutzer:

/member.php?userid=38

Wie läuft das via GET hat da jemand nen Example?

Gruß
DevelopmentFOE is offline  
Old 12/10/2012, 17:53   #2
 
elite*gold: 0
Join Date: Apr 2010
Posts: 1,352
Received Thanks: 788
Was mich hier verwirrt ist, dass du in der Überschrift cURL stehen hast, aber dann von Dynamischen URLs redest.

Das mit dem GET Parameter ist eigentlich recht simpel:
PHP Code:
<?php
if($_GET["step"] == "1"){
  echo 
"Schritt 1";
} elseif(
$_GET["step"] == "2"){
  echo 
"Schritt 2";
} elseif(
$_GET["step"] == "done"){
  echo 
"Fertig!";
}
?>
Einfach mal hier nachlesen.


Gruß
yym3.
yym3 is offline  
Reply


Similar Threads Similar Threads
PHP upload mittels curl
09/10/2012 - Web Development - 1 Replies
Hi, ich habe folgendes Problem, ich möchte gerne eine Datei von meinem Server auf einen anderen Server (Video Hoster) hochladen nur will dies nicht funktionieren. Es werden auch keine Errors angezeigt. Hier ist einmal das Script: <?php class curl { function __construct($use = 1)
PHP - cURL Cookie Problem
08/19/2011 - Web Development - 6 Replies
Hallo, ich möchte eine Chinesische Seite sogesagt übersetzen. Dazu habe ich mir gedacht das ich ein Formular auf Deutsch mache und den Post an die chinesische Seite schicke. Leider bekomme ich eine Fehlermeldung von der Seite aus das die Cookies deaktiviert sind oder so. Nun weiß ich nicht weiter. Cookies sind laut Script an und sollten eig. weitergegebene werden. Könnt ihr mir helfen? <?PHP session_start(); if (isset($_POST) && ($_POST == "Registrieren")){...
help with curl
05/20/2011 - CO2 Programming - 0 Replies
im trying to log in to a page using curl to modify one of my post like updating that specific post with new information over the time i dont understand very much curl and most of the examples i search are in php and i need it to use with autoit or the cmd directly right now im trying from the start, to get logged in the webpage i have found that i need the names of the inputs user and password and that i need a cookie to receive and to send, but when i check the curl.txt in a browser it...
[C#]Gibts Tutorial für Spiele erstellen oder Hacks erstellen?
05/01/2011 - .NET Languages - 19 Replies
Hey gibs hier in epvp Tutorials wie man Ein Spiel erstellt z.B. einen Shooter und wie man einen Hack erstellt? Oder habt ihr auf Youtube iwas gefunden? Naja Hoffe auf Antwort :D Das ganze mit C# Und ich meine keine Minigames sondern eher große Spiele. THX iM VORRAUS
[PHP] cUrl Login
04/19/2010 - Web Development - 0 Replies
So ich hab ein kleines Problem. Und zwar versuche ich für das Browsergame Space Pioneers einen Bot mit PHP zu schreiben was generell auch kein Problem wäre, allerdings habe ich ein kleines Problem. Und zwar gibt es zwei möglichkeiten sich einzuloggen, das wäre einmal auf Looki und einmal der Notfall Login Login. Nun zu meinem Problem. Das Einloggen im ersten Link klappt soweit ganz gut, ich habe meines errachtens auch alle Inputs mit übergeben, hat mir allerdings keinen Acceskey...



All times are GMT +1. The time now is 20:46.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.