473,408 Members | 2,009 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,408 software developers and data experts.

How to send arguments to php class?

30
I can't see a class, but i know i can send arguments see:


[HTML]https://myaccount.smsdiscount.com/clx/sendsms.php?username=xxxxxxxxxx&password=xxxxxxxxx x&from=xxxxxxxxxx&to=xxxxxxxxxx&text=xxxxxxxxxx[/HTML]

if you made it link and fill username, password, text, to ... then with one click you can send sms from your desktop html code

how to send arguments to php class with textbox
Jun 6 '07 #1
6 2231
pbmods
5,821 Expert 4TB
Just create a form, a text input for each argument, name each appropriately and add a submit button.

The browser will take care of the rest.
Jun 6 '07 #2
aRTx
30
Can you post code about it!

I don't know how to do it

please make any simple form and post...

aRTx with respect
Jun 6 '07 #3
Motoma
3,237 Expert 2GB
Take a look at this tutorial and come back if you have any more questions.
Jun 6 '07 #4
aRTx
30
How to hide my first field username and password from view source?
I'm thinging!
is it possible with php?

[HTML]<form action="https://myaccount.artxcenter.com/sendsms.php" method="post">

<input type="hidden" name="username" value="xxx" size="20" >
<input type="hidden" name="password" value="xxx" size="20" >

<input type="text" name="to" value="+37744xxxxxx" size="20" >

Message: <textarea size="50" rows="8" name="text" cols="40" </textarea>

<input name="Submit" type="submit" id="Submit" value="Dergo" onSubmit=mbylle() />

</form>[/HTML]
Jul 22 '07 #5
pbmods
5,821 Expert 4TB
Heya, aRTx.

The only way to do that would be to remove the Username/Password fields from the form and have the form submit to a PHP script on your server that then adds the Username and Password and sends the request to the remote server.
Jul 22 '07 #6
kovik
1,044 Expert 1GB
If you want your users to be able to log in via a URL (which I highly recommend against, but if you MUST...), have the script check for the existence of the GET variables before hand (just like you'd do with POST variables) and process them as normal instead of ever needing to show a form.
Jul 22 '07 #7

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

Similar topics

8
by: Mark English | last post by:
I'd like to write a Tkinter app which, given a class, pops up a window(s) with fields for each "attribute" of that class. The user could enter values for the attributes and on closing the window...
3
by: KK | last post by:
Hello all, I have several classes binded by one common interface - say 'sum' interface which calculates the sum of all the class elements of type 'int'. class Alphabet { int _a; int _b; int...
41
by: Telmo Costa | last post by:
Hi. I have the following code: -------------------------------------- function Tunnel() { //arguments(???); } function Sum() { var sum = 0; for (i=0; i<arguments.length; i++) sum +=...
1
by: Joey | last post by:
I am using the below code to run a dos based program. While it is running you can hit ctrl-c to cancel the process. Does anyone know how I can send the same keystroke to the already runing...
36
by: Pacific Fox | last post by:
Hi all, haven't posted to this group before, but got an issue I can't work out... and hoping to get some help here ;-) I've got a base object that works fine with named arguments when called...
0
by: =?Utf-8?B?SmFtZXMgUm9iZXJ0c29u?= | last post by:
I have a form that users type in information into. It then e-mails the specified user below. What I am looking for is how can I e-mail a carbon copy of this same informtaion back to the user at...
2
by: Alan | last post by:
I have a couple of questions about using a variable number of arguments in a function call (...). The context is that I have some mathematical functions I created. I currently pass them a pair of...
0
by: sudipmondal440 | last post by:
import javax.mail.*; import javax.mail.internet.*; import java.util.*; import javax.activation.*; import javax.swing.text.*; import javax.swing.*; import java.io.*; import java.awt.*; ...
1
by: aRTx | last post by:
if there is a class: https://myaccount.smsdiscount.com/clx/sendsms.php? how to send these arguments from another class to sendsms.php ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.