₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,330,179 members, 8,444,209 topics. Date: Monday, 13 July 2026 at 10:00 AM

Toggle theme

OmniPotens's Posts

Nairaland ForumOmniPotens's ProfileOmniPotens's Posts

1 2 3 4 5 6 7 8 ... 17 18 19 20 21 22 23 24 25 (of 36 pages)

WebmastersRe: I'm Testing Nairalist.com: What Do You Think? by OmniPotens(m): 1:24pm On Jan 10, 2009
This website in question is still under test but believe me, I understand something will be done to integrate at least one Eastern state if not all. wink
WebmastersRe: Please Help Out With This Php Script by OmniPotens(m): 1:22pm On Jan 10, 2009
Just opening new threads. Three now. All saying the same thing. One closed and two open.

What do I do here?

I still maintain especially in this year that there should not be a post me code affair if the person is not willing to learn. Unless he/she starts learning, then a consideration can be accepted.

This is geared towards helping ourselves become stronger in the industry and not chaffs.

The more you learn, the better you become, the more experienced and more pay you charge and become more of a man in the nearest future.
WebmastersRe: Controlling Cpanel With Php Scripts To Create Email, Dbase, Subdomains: by OmniPotens(m): 3:06am On Jan 09, 2009
See this other approach that I used then. Verify that it also works.

cpmail_class.php

<?php

//definding main class
class cpmail{
  //declare public variables
  var $cpuser;    // cPanel username
  var $cppass;        // cPanel password
  var $cpdomain;      // cPanel domain or IP
  var $cpskin;        // cPanel skin. Mostly x or x2.
 
  //defining constructor
  function cpmail($cpuser,$cppass,$cpdomain,$cpskin='x'){
    $this->cpuser=$cpuser;
    $this->cppass=$cppass;
    $this->cpdomain=$cpdomain;
    $this->cpskin=$cpskin;

  }

  //now create email account, function takes three arguments
  /*
  $euser = email id
  $epass = email password
  $equota = mailbox allocated size
  */
  function create($euser,$epass,$equota){
    $path="http://".$this->cpuser.":".$this->cppass."@".$this->cpdomain.":2082/frontend/".$this->cpskin."/mail/doaddpop.html?quota=".$equota."&email=".$euser."&domain=".$this->cpdomain."&password=".$epass;
    $f = fopen($path,"r"wink;
    if (!$f) {
      return('Cannot create email account. Possible reasons: "fopen" function not allowed on your server, PHP is running in SAFE mode');
    }

    //check if the account exists
    while (!feof ($f)) {
      $line = fgets ($f, 1024);
      if (ereg ("already exists!", $line, $out)) {
        return('Such email account already exists.');
      }
    }
    fclose($f);
    //return success message
    return "Email account created.";
}
}

?>
Sample Usuage

<html>

<head>
<meta http-equiv="Content-Language" content="en-us">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>cPanel Email Creator</title>
</head>

<body>

<p><b><font size="5">Cpanel Email Creator</font></b></p>
<form method="POST" action="<?php echo $_SERVER['PHP_SELF']; ?>">

    <table border="0" width="52%" style="border-collapse: collapse">
        <tr>
            <td colspan="2">
            <p align="left"><b>Create Email Accounts</b></td>
        </tr>
        <tr>
            <td width="78">
            <p align="right">Username:</td>
            <td><input type="text" name="euser" size="20"></td>
        </tr>
        <tr>
            <td width="78">
            <p align="right">Password:</td>
            <td><input type="password" name="epass" size="20"></td>
        </tr>
        <tr>
            <td width="78"> </td>
            <td><input type="submit" value="Create New Account" name="create"></td>
        </tr>
    </table>
</form>
<p> </p>
<?php
if(isset($_POST['create'])){

//include class file
require_once('cpmail_class.php');

/*
  instanceiate class & pass three arguments cpanelusername, cpanelpassword,yourdomainname,cpanelskin
  if you don't pass cpanelskin argument, default will be x
*/

$cpanel=new cpmail("rubdnet","secret2001","rubd.net","rvblue"wink;

//call create function and you have to pass three arguments as follows:
//emailid, password, quota

echo $cpanel->create($_POST['euser'],$_POST['epass'],"20"wink;
}
?>
</body>
</html>
NB: You can still try adding in captcha to it against bots signing up for email aliases.

/*
After work you sleep and not
after work, work continues again
but my NL status asks for extension
so I'm back to bed now,
*/
WebmastersRe: Forum Traffic by OmniPotens(m): 2:33am On Jan 09, 2009
I hope you understand how a URL is written. If yes, do justice here. Else, start by asking for help in noting down an understandable and workable URL then we can understand what you want.
WebmastersRe: General PHP / Database Using Php & Mysql & Xml Q & A Section by OmniPotens(m): 2:30am On Jan 09, 2009
More questions are still expected in here as there are still more people who can attempt them. Simply keep posting them. You surely will get answers in good time.
WebmastersRe: My First Post Of 2009 - A Frameset Question by OmniPotens(m): 2:18am On Jan 09, 2009
lagerwhenindoubt:
man i am so out-dated grin
Out-dated as in huh
WebmastersRe: First Quiz Of 2009 by OmniPotens(m): 2:13am On Jan 09, 2009
Work load here is not allowing me get into posts this time around. Just exempt me until next week or two. All I can provide to most threads are is just a one or two line response either to back-up or any or sort.

I see the run down of things here. Keep it up and remember me in your honorary awards grin
WebmastersRe: Hello by OmniPotens(m): 3:31pm On Jan 08, 2009
Welcome to the forum. Just read the rules and start posting.
WebmastersRe: Controlling Cpanel With Php Scripts To Create Email, Dbase, Subdomains: by OmniPotens(m): 8:48am On Jan 08, 2009
Just as will always as how you get people to have an email address from you domain when they sign up for any of your seminar programs. I think it is time for them to learn that here.

Opps! My client with a sample of this email thing running has got an expired domain name grin WIll get it running again for him if he complies. You know with what wink Then, I'll point it for a sample here.

Where's my stop watch? 'Tsays 2 more to go
WebmastersRe: Form Validation Tutorial Using Javascript, Php And Ajax! by OmniPotens(m): 8:43am On Jan 08, 2009
As usual, it's me first on all threads.

I one! tongue

Just 7 more to go.
WebmastersRe: Javascript For Beginners - Learn How To Script Today! by OmniPotens(m): 3:37pm On Jan 07, 2009
Please get back to the main topic here. It is "Javascript For Beginners - Learn How To Script Today!" in case you've already forgotten. All other irrelevances to this thread is no longer allowed. Let's keep it clean as it is for beginners who are learning.

Thanks for your cooperation in advance.
WebmastersRe: Tutorials In Webmasters Section by OmniPotens(op): 9:08am On Jan 07, 2009
WebmastersRe: Javascript For Beginners - Learn How To Script Today! by OmniPotens(m): 8:37am On Jan 07, 2009
WebmastersRe: I'm Testing Nairalist.com: What Do You Think? by OmniPotens(m): 7:36am On Jan 07, 2009
And that person was OmniPotens shocked

Don't mind him grin

I almost complained but was patient enough to wait and observe things. I saw the change and reasoned along that miscellaneous ads should be featured as other ads else, we'll be having a lot of sections.
WebmastersRe: I'm Testing Nairalist.com: What Do You Think? by OmniPotens(m): 7:33am On Jan 07, 2009
Nice job there but the states are not complete though I understand it is just a *beta version.

Notes
:::  You are using inline styles, why not consider an external .CSS file for them
:::  The font size for the text area is small. I'm on a screen resolution of 1024 X 768, what about users with say higher resolutions? It might be so tiny for them. Consider an increment for accessibility purposes.
:::   I think the text area should house a WYSIWYG editor so enhance text formatting or BBcode just like that used for making posts in forums.
::: One more thing, I think poster should be able to edit their posts in case of typographical errors or change in decision of their posts.

**:::  I hope the website admin can edit or delete even modify posts. So can delete some of these test posts  wink

Nice job there. These are much for now. Need to go to bed for at least 2 hours then rush to the office. Talk later.

Yes ooooo. The adverts in here are getting much and nutty as people post what you can and cannot imagine in here.


Cheers!
WebmastersRe: I'm Testing Nairalist.com: What Do You Think? by OmniPotens(m): 7:04am On Jan 07, 2009
@admin

Don't tell me you are already through with this oooo shocked

So there'll be no one to see online all night long working on something?

In fact, I get something to tell you that will keep you some days longer lol grin
WebmastersRe: Facebook Applications Designing! by OmniPotens(m): 7:01am On Jan 07, 2009
Remainder than 4.

***I've got to encourage all no matter what to make sure the section is lively and moving on. ***

Hey! Where are they?
WebmastersRe: Plsss Preview My New Updated Site by OmniPotens(m): 6:38am On Jan 07, 2009
He does take corrections and improves on them. Just like him for that and believe me, he has improved.

@switchmax8

Keep working harder!
WebmastersRe: Programming Autoresponse by OmniPotens(m): 6:25am On Jan 07, 2009
You are all right in here. But from the tone of the poster, you can tell that he wants something that can replace peeps like getresponse.com where you'll have to pay for the program. I actually understand he is considering getting a program that can offer such solution (standalone on his server) than having to pay third party solutions for it.

@afam4eva, I'm I correct?
WebmastersRe: How Much Are Developers Paid - The Truth by OmniPotens(m): 4:56am On Jan 07, 2009
More skills-More Experience-Better Tools== More Money!

But any real developer charging below 60K this year, embarassed , if I hear you did and saw you anywhere on NL, BAN!

This calls for development in skills now. Don't think you are above adapting to new skills. If you think so, ask W3C to stop reviewing the standards and other languages too. Imagine if you were to do a web with Oracle + PHP and charge 20K, I'll be the one to come after you. BAD NAME and BAD MARKET for others. No Hard feelings ooo but just saying my mind.

Bros and Sis out here, let's work for the better and earn better.
WebmastersRe: My First Post Of 2009 - A Frameset Question by OmniPotens(m): 4:39am On Jan 07, 2009
Cooooooooooooooooooooourt!

TOPIC: My First Post Of 2009 - A Frameset Question

Don't wake sleeping dogs here. We are mixed in here so don't let that thing on your minds creep in.

All animals are equal but with different experiences and developments grin
WebmastersRe: General PHP / Database Using Php & Mysql & Xml Q & A Section by OmniPotens(m): 9:26pm On Jan 06, 2009
@MT

Make that change. You can't just leave your password blank. Give it a value so that you can always key in a username and a password then hit the return key. This will go along way when ever you need to make database connections either remote or locally. Gradually when you have gotten through this then you might now start talking about connecting to the database using some PHP scripts even inputting data to the database.

Good luck!
WebmastersRe: First Quiz Of 2009 by OmniPotens(m): 9:01pm On Jan 06, 2009
Aunty I! Aunty I!! Aunty I!!!

Hey, wait make I try.

be right back tongue
WebmastersRe: Tutorials In Webmasters Section by OmniPotens(op): 12:04am On Jan 06, 2009
Javascript For Beginners - Learn How To Script Today!
https://www.nairaland.com/nigeria/topic-214685.0.html
WebmastersRe: My First Post Of 2009 - A Frameset Question by OmniPotens(m): 11:06pm On Jan 05, 2009
Terrific observation!
WebmastersRe: Urgently Needed by OmniPotens(m): 9:25pm On Jan 05, 2009
Sorry if this might look kinda offensive. But one adage has it that "Silence is the best answer for , "

Allow him to show what he has upstairs. Those are the website review champions. Relax, you'll soon have to start reviewing codes that won't display useful graphics which you are waiting to see. By then, I'll know what you'll say and do.

Have you visited the tutorial link thread today tongue
WebmastersRe: Urgently Needed by OmniPotens(m): 1:29pm On Jan 05, 2009
Ok. But still make a visit to the Graphics/Video section of the forum. There are many of them there. Just select from their work samples.

Have a lovely day!
WebmastersRe: Urgently Needed by OmniPotens(m): 12:40pm On Jan 05, 2009
adewole30:
URGENTLY NEEDED

4 Graphic Artists

Experienced in flash amination and website development
Age: 20 - 25 years
I understand but only wanted to point out something to you based on the term "PROFESSIONALISM" and not countering you. I'm not choosing for you at all. Just thought I should throw in those lines in case you were mixing things but since you understand, safe.

Good luck once again!
WebmastersRe: Urgently Needed by OmniPotens(m): 11:53am On Jan 05, 2009
@poster

Please do you mean the graphics designers should also be good at web development? If YES, then understand something here.

Graphics designers are different from web developers. Web developers/programmers are different from web designers as well. Please understand what I mean so that you'll find quality staffs for the year 2009.

Good luck!
WebmastersRe: Dissapointed by OmniPotens(m): 11:27am On Jan 05, 2009
Don't get vexed. I'll say you are even lucky some I categorize as "mediocre" are not around to see your web. All they'd have told you will make you never want to post a website for review. But since they are not there, don't get vexed. You can try ensure you post things on that thread to keep it on the top and you'll attract more response to it.

As you rightly pointed out "nt that everyone is obliged to respond to every thread they read", you don't then get perplexed.

See you on the other thread soonest.
WebmastersTutorials In Webmasters Section by OmniPotens(op): 5:37pm On Jan 04, 2009
Are you in need of any tutorials on this section? The links below are for tutorials ongoing in the section. Choose any of your choice to start learning.

===================================================
Check here to see the road map designed by a member:

https://www.nairaland.com/nigeria/topic-216485.0.html

===================================================

Create Ajax Chat & Learn Web Page Data Xchange via Json Vs Xml
https://www.nairaland.com/nigeria/topic-214542.0.html

Moving To Oop Javascript/php Class Module Creation & Instantiation
https://www.nairaland.com/nigeria/topic-214495.0.html

How To Use Ajax For Image Verification Aka CAPTCHA
https://www.nairaland.com/nigeria/topic-214568.0.html

How To Build Your First Website And Upload It Online In Less Than 1 Week!
https://www.nairaland.com/nigeria/topic-213936.0.html

Sample Script- Profile Wall Of Facebook
https://www.nairaland.com/nigeria/topic-214623.0.html

How To Use Ajax (asynchronous Javascript)
https://www.nairaland.com/nigeria/topic-214605.0.html
Web MarketRe: How To Build Your First Website And Upload It Online In Less Than 1 Week! by OmniPotens(m): 5:33pm On Jan 04, 2009
Just hang on. People will be back at least by tomorrow. Take it easy. They'll come back and learn too.

Hey, keep the good work flowing!

1 2 3 4 5 6 7 8 ... 17 18 19 20 21 22 23 24 25 (of 36 pages)