Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,155,960 members, 7,828,404 topics. Date: Wednesday, 15 May 2024 at 09:15 AM

Post your PHP Problems Here - Webmasters (13) - Nairaland

Nairaland Forum / Science/Technology / Webmasters / Post your PHP Problems Here (63406 Views)

Thread For All Your Blogging Related Problems Here / Get And Request For Your Php Problems Here / Connecting To Your Gmail Account From Your Php Application. (2) (3) (4)

(1) (2) (3) ... (10) (11) (12) (13) (14) (15) (16) ... (20) (Reply) (Go Down)

Re: Post your PHP Problems Here by babsmii(m): 9:26am On Nov 13, 2014
.
Re: Post your PHP Problems Here by phemygee(m): 6:33pm On Nov 14, 2014
emmym16:
pls aw do extend my class

Here is how to write it:

Public classname extends classname2
{

}

Classname2 is the class you are extending... Save your classname2.php differently but include it at the top of the classname file before extending it.

I hope it helps
Re: Post your PHP Problems Here by robbase: 12:14pm On Nov 15, 2014
Good day Master,
My problem is that I need a simple php code that can scroll(animations) .gif images, and also php codes to marquee .gif images.
Bless you.
Re: Post your PHP Problems Here by iykyvic(m): 4:00am On Nov 19, 2014
Re: Post your PHP Problems Here by c34s3r(m): 1:00am On Nov 23, 2014
He guys!!!,am a php fan and dev although not a prof ,not yet...i just thought i should bring in php tutorials for those of us who have the time and are interesting in making php a part of us....hope i av guys whom we can in this kinwap, share knowledge together...for a start,lets create a port scanner thats scans for open ports on a server ....
To create socket connections to query services both locally and remotely,we use the fsockopen() function ....this function creates a socket connection to a supplied host in the arguments through a given port ...example "fsockopen(localhost,80)" creates a socket connection to localhost through port 80.....now lets create a port scanner ...

<?php

//give max time for task to complete
Ini_set("max_execution_time",120);

//define the range the scan will cover
$start=0;
$stop=1024;

//Define host to scan
$host="localhost";

//create array of values(port)
$range=range($start,$stop);

Echo "your scan results on ".$host. " is";

//begin scan
Foreach($range as $port)
$result=fsockopen($host,$port);
If($result){
Echo "socket open at port ".$port";
}
?>

If you execute it,it will print out all open ports found on the host...
need more tutorials go to www.Kinwap.com
Re: Post your PHP Problems Here by c34s3r(m): 1:03am On Nov 23, 2014
contact me on watsapp 08140314215 or go to www.Kinwap.com...I'll be glad to help outi
Re: Post your PHP Problems Here by c34s3r(m): 1:26am On Nov 23, 2014
how to check network speed with PHP....
not everybody has high speed internet so it is good practice to test the internet speed...this is done in PHP by sending a large amount of data and noting the time it takes to transmit it....
let's write the script
<?php
// Retrieve the data to send to the user
$data = file_get_contents("textfile.txt"wink;
// Determine the data's total size, in Kilobytes
$fsize = filesize("textfile.txt"wink / 1024;
// Define the start time
$start = time();
// Send the data to the user
echo $data;
// Define the stop time
$stop = time();
// Calculate the time taken to send the data
$duration = $stop - $start;
// Divide the file size by the number of seconds taken to transmit it $speed = round($fsize / $duration,2);
// Display the calculated speed in Kilobytes per second
echo "Your network speed: $speed KB/sec.";
?>
that is it ...
the script produces something like....
your network speed is 55KB/sec

visit www.Kinwap.com for more……
Re: Post your PHP Problems Here by Whalenchy(m): 12:46pm On Nov 24, 2014
Please how do i integrate a mobile deduction payment into my merged extensions website (html and php).
Re: Post your PHP Problems Here by mt77: 5:50pm On Nov 24, 2014
Just need two interested parties (webmasters) to post/ update (250 postings / month) on the event, forum and business sections of our social network site for N9000 (naira) per month. visit www.diaspohub.com to register(signup) and leave a message.
Re: Post your PHP Problems Here by kay7070: 9:02am On Nov 27, 2014
I mistakenly changed my website url from http://example.com to https://www.example.com. The intention was to change my url to http://www.example.com and since then l have not been able to login to my WordPress dashboard again. Kindly assist ASAP.

Thanks
Re: Post your PHP Problems Here by Nobody: 2:31pm On Nov 29, 2014
Pls nairalanders

I need your help I have a site under wordpress and I use wordpress for bb app recently
I started having some issues with it, any time I try to post
An article with picture it gives me error 301"permanently moved"
But if I post without image the article will be published.

Pls people help me out with solution on how to fix it,
Re: Post your PHP Problems Here by lexoft(m): 10:04am On Nov 30, 2014
http:lexoft.com.ng

Re: Post your PHP Problems Here by lumet: 1:22pm On Nov 30, 2014
Please guys,i need a script that validates the string type and length of an inputted value in a form
Re: Post your PHP Problems Here by iykyvic(m): 4:01pm On Nov 30, 2014
@by kay7070: we will help you with that if you still have that problem. free. contact topserve.com.ng
Re: Post your PHP Problems Here by kentAire(m): 10:02pm On Nov 30, 2014
hello people!!!!!
please i messed my password configuration on mysql console on WAMP, can't login on mysql console cus it ask for password. can someone help me with wat to do to reset my password on mysql console.
thanks in advance.
Re: Post your PHP Problems Here by kentAire(m): 8:13am On Dec 01, 2014
c34s3r:
how to check network speed with PHP....
not everybody has high speed internet so it is good practice to test the internet speed...this is done in PHP by sending a large amount of data and noting the time it takes to transmit it....
let's write the script
<?php
// Retrieve the data to send to the user
$data = file_get_contents("textfile.txt"wink;
// Determine the data's total size, in Kilobytes
$fsize = filesize("textfile.txt"wink / 1024;
// Define the start time
$start = time();
// Send the data to the user
echo $data;
// Define the stop time
$stop = time();
// Calculate the time taken to send the data
$duration = $stop - $start;
// Divide the file size by the number of seconds taken to transmit it $speed = round($fsize / $duration,2);
// Display the calculated speed in Kilobytes per second
echo "Your network speed: $speed KB/sec.";
?>
that is it ...
the script produces something like....
your network speed is 55KB/sec

visit www.Kinwap.com for more……


hello bro!!!!!
please i messed my password configuration on mysql console on WAMP, can't login on mysql console cus it ask for password. can someone help me with wat to do to reset my password on mysql console.
thanks in advance.
Re: Post your PHP Problems Here by dolpaz: 3:19pm On Dec 02, 2014
kentAire:



hello bro!!!!!
please i messed my password configuration on mysql console on WAMP, can't login on mysql console cus it ask for password. can someone help me with wat to do to reset my password on mysql console.
thanks in advance.

Go to www/apps/phpmyadmin

open configinc.php, and change

$cfg['Servers'][$i]['AllowNoPassword'] = false;

to

$cfg['Servers'][$i]['AllowNoPassword'] = true;


also change

$cfg['Servers'][$i]['password'] = '';

restart wamp and try again

regards !

1 Like

Re: Post your PHP Problems Here by Nobody: 7:55am On Dec 03, 2014
how can l get d wampserver
Re: Post your PHP Problems Here by clementcro(m): 1:41pm On Dec 03, 2014
Please how do I integrate a payment platform like interswitch to my website?
Re: Post your PHP Problems Here by CRAZYMADMAN(m): 3:16pm On Dec 04, 2014
can someone please explain the meaning of

$this->a->b

in OOP PHP
Re: Post your PHP Problems Here by JackOfAllTrades: 2:30pm On Dec 05, 2014
CRAZYMADMAN:
can someone please explain the meaning of

$this->a->b

in OOP PHP
$this means the current object(class) your are working on.

Remember every object have properties and method!

in this case "a" is a property of the object you're working on, "a" holds a reference to another object. That object also have a property called b
Re: Post your PHP Problems Here by Webhost(m): 2:00am On Dec 06, 2014
Get a professional website today by contacting Nihtem Solutions. Nihtem Solutions is a Web design company in Nigeria.
First you should check our web design portfolio and see if you will want to work with us.

Contact Nihtem Solutions, one of the best Web design company in Nigeria by calling 07030595653
Re: Post your PHP Problems Here by Adesege(m): 11:46pm On Dec 06, 2014
Permit me fellow webmasters to say that the reasons why most Nigerian websites, governments and international bodies websites have been going down is cos of lack of technical know how from the developer.

Scanned through some solutions given here and i couldn't help but nod in pity.

I am Adesege, a certified web developer.
Re: Post your PHP Problems Here by Adesege(m): 11:51pm On Dec 06, 2014
clementcro:
Please how do I integrate a payment platform like interswitch to my website?

To integrate a payment option on your website, register on any of the payment websites, e.g Interswitch, get their developer API code.

The API code is what will be integrated into your website.

Got it? Any further questions, i'm ready to help.
Re: Post your PHP Problems Here by Adesege(m): 11:53pm On Dec 06, 2014
lumet:
Please guys,i need a script that validates the string type and length of an inputted value in a form

kindly share the html form sample so i can help work on it. *cheers*

(1) (2) (3) ... (10) (11) (12) (13) (14) (15) (16) ... (20) (Reply)

Add More Than One Website Url To Your Twitter Account. / Top Google Searches By Nigerians 2015;Arsenal,Buhari,Diezani Arrest tops d list. / Mark Zuckerberg Eating Pounded Yam And Eforiro (Photo)

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 31
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.