Jump to content

beaviss

New Members
  • Posts

    9
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

beaviss's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Hi, I need to construct an else elseif statement from plain text I have in an array. If I know that $filearray[12] could contain the words "available" or "unavailable" How do I test for this? I have tried if ($filearray[12]=="available") { echo 'something' ; } else { echo 'something else' ; } but it hasnt proved reliable, as when I know the text is unavailable, it says it is available in the if statement. What am I doing wrong - how does one effectively test for a match ? Regards Anton.
  2. Hi, Yes, its just one per line. I just need a simple way to get about 30 domains at a time into somthing, and then post it to process.php for it to take care of the repetitive tasks. If I had to type out the domains one per box, it would be easier to just do it at the registrar the I have. I really need some help and advice on making my life easier. Is there anything else you can suggest ? Also how would I get each domain name in the array to be passed one by one to [a href=\"http://co.za/cgi-bin/whois.sh?Domain=domain.co.za\" target=\"_blank\"]http://co.za/cgi-bin/whois.sh?Domain=domain.co.za[/a] and then looking for text "not paid" on that form and have the results emerge somewhere. Regards B
  3. Hi I need a littl help with a small script I am trying to make. Basically I have a webpage with a textarea and submit button, I then pass the results to the process.php form I created. I need help now sorting the information into an array and then, passing each one to the [a href=\"http://co.za/cgi-bin/whois.sh?Domain=domain.co.za\" target=\"_blank\"]http://co.za/cgi-bin/whois.sh?Domain=domain.co.za[/a] and then looking for text "not paid" on that form. Then would like to have a list of all domains that need to be paid, and a list of domains already paid. Can someone help ? pleeeeeeeeeeeeeeeese Regards B
  4. Fyorl, Thanks a ton. I think I stand a fighting chance armed with this. I will give it a bash, very excited :) First I need to get some sleep, work tomorrow and is 04:02Am eeek! Regards B
  5. hi, Thanks, this is very helpful, esp the tips. Last question. The form has to be sent in its original form. ie This is the xxxversion and blah blah blah Domain: Renew [R] Update[U] Delete[D]: Name of registrant: Street Address: and the machine reads the info after : How do I get them in there and send it in plain text ? Thanks, B.
  6. hi Fyorl, I think I can make sense of that. I just dont understand how the html part ends up in a finished template. Do I have to put the plain text in a container " ' ; (something like that) or just work the html inbetween the template. Maybe doing it in php is the easiest. How do I go about mailing. Would I be extracting the email address from the database also as the From: header and To: will always be the same address. (possibly I can include myself here to make sure I sent the correct details :) ) Thanks, B
  7. ok, so if I dont use a popup, the next page will have a filled in form which I will have to submit again ? so if I selected the wrong user, I can click back and do over ? There are about 20 fields. name,surname,postal adress,streetaddres,homeph,workph,mobile,email,billingemail,admincontact,ph,ph,fax,nameserver1,ip1,nameserver2,ip2 give or take. Users dont need to register, if there are users I will want to create them, and they shouldnt be able to see the list, just use the info in the database that pertains to them. but at this point users are not my worry. please read pm Thanks.
  8. Hi Fyorl, Thanks for the quick response. What you say sounds great. Let me explain exactly what I [i]need[/i] to do, the rest is not all that important. We have a script which does all domain registrations for us, except co.za On the form I just need to enter the domain I need to register and select the user (would be handy, if it could open a popup with the info so I know I have the correct user.) I need to enter the users details in so each time I register a new domain, it only takes me a sec instead of having to type it all out manually in the current html form. It would be nice it I could store the domains I register, and if the system could email the user to alert to expiration. I honestly dont need anything fancier than that, I really would love something as above to make life simpler. The coza registry has a set form which needs to be emailed to them in plain text with these fields filled out. Does this make it any easier ? Would you be able to help me with the database (a few guidlines) I always seem to mess up the primary keys. Thanks a ton ! B
  9. Hi, I have been battling with this for ages now, any help will be appreciated. I am trying to create a page with about 10 form fields on it. I would like to have a drop down list of members, and on selecting one, the fields get filled out. Either from database or other method is there is. Then these fields (now filled out) need to be placed in the correct places on a template and emailed in plain text to a specific address. I sure the solution is very simple, but I am still very new to php, and this would really teach me lots. I would like to be able to add new users info to the database, and if it isnt 2 hard even keep track of products they order with a date and remind me if before expiration. many thanks B
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.