r/learnphp • • Jul 28 '22

How to Learn Programming From Scratch

Thumbnail
prmac.com
0 Upvotes

r/learnphp • • Aug 02 '24

A new place to share coding!

0 Upvotes

Hey everyone!

I'm excited to announce the launch of Rolling Code, a brand-new subreddit dedicated to all things coding. Whether you're a seasoned developer or just starting out, this is a place to share projects, discuss programming, and learn from one another.

I'm looking for passionate coders and tech enthusiasts to join and help grow this community. If you're interested in being a part of this journey, sharing your knowledge, or just hanging out with like-minded people, come join us at Rolling Code!

Let's create an awesome space for coding discussions and inspiration. Hope to see you there!


r/learnphp • • Feb 26 '15

My new online course that guides you through creating your first web app (using Laravel)

Thumbnail
yourfirst.io
1 Upvotes

r/learnphp • • Jul 08 '14

How to create framework, what should be known before creating frameworks

0 Upvotes

r/learnphp • • Apr 10 '15

Simple PHP email subscription form with email verification

Thumbnail
gelasoft.com
0 Upvotes

r/learnphp • • Sep 26 '21

PHP array functions could slow down or accelerate your PHP learning speed.

0 Upvotes

Mastering PHP array functions is one point I go over and over again with my students. It can easily accelerate or slow down your career and skillset as a PHP programmer.

Going over and taking few minutes of your day to study, review, exercise these methods would do you good.

Today, I thought I would do that in this article and video.

PHP array functions Could Accelerate your PHP learning speed

PHP Array Functions


r/learnphp • • Nov 03 '20

How to merge an array in PHP?

Thumbnail
programmingdive.com
0 Upvotes

r/learnphp • • Aug 03 '22

How to convert 24 hour format to 12 hour format time in php?

Thumbnail
soltuts.com
0 Upvotes

r/learnphp • • May 10 '15

PHP programming quizzes, interview questions and answers

Thumbnail xquizzes.com
0 Upvotes

r/learnphp • • Jul 05 '16

New to PHP? Check 'Awesome PHP' out to find your options

Thumbnail
php.libhunt.com
1 Upvotes

r/learnphp • • Jul 10 '14

I want to make a social media website

1 Upvotes

I want to make a website similar to Soundcloud, is PHP what I should use? If so, where should I begin learning php? I only know CSS and HTML.


r/learnphp • • Apr 18 '24

If you are learning PHP, here is some guidance

0 Upvotes

If you are learning PHP, start small and grow gradually. Here are a few things I did when I started using PHP.

  1. Get PHP installed and run the most basic PHP program. Make it say "hello world".

  2. Pick a few PHP functions and try to understand them thoroughly. Create tiny PHP programs that explore each of these functions.

  3. Learn how to debug PHP.

If you find yourself totally stuck, perhaps you are trying to do too much. Back it down and go back to something simpler.


r/learnphp • • Oct 10 '20

Good project to learn Laravel?

1 Upvotes

Hi, I am a php developer currently working exclusively without frameworks. I have little experience with MVC in C# but would like to dive deeper into laravel.

I have started on a project and its taught me the basics but now I want to have a look into implementing examples of the advantages of Laravel has over vanilla php, rather than just basic routing and stuff.

So what projects could you advise to do for someone to learn the important aspects?


r/learnphp • • Jul 18 '19

Learn PHP for Beginners - Absolutely FREE with 16 hours of Videos

1 Upvotes

If you want to learn php from scratch and looking for course that can help you get started with PHP.

Then this is the right course for you:

https://www.udemy.com/ultimate-php-course-for-absolute-beginners/

Let us know your feedback about this course as well.

Get this Course Completion Certificate:


r/learnphp • • Nov 30 '19

Quick app I can build to level up on Object Oriented PHP? NSFW

1 Upvotes

I'm normally a Frontend and JavaScript developer but now I have to learn PHP for work, with a particular focus on Object Oriented principals. Ive read up on it but I really need to build something to solidify my knowledge. What's a quick project? I don't want to spend too long on HTML/CSS/JavaScript as I already know those.


r/learnphp • • Oct 08 '20

PHP isset() vs empty() vs is_null() - Phpflow.com

Thumbnail
phpflow.com
2 Upvotes

r/learnphp • • Apr 05 '19

Learn php at 33

2 Upvotes

Is it too late to learn php, im 33. If not where should I get started.


r/learnphp • • Aug 15 '20

What is JSON and how to use it in PHP?

Thumbnail
programmingdive.com
0 Upvotes

r/learnphp • • Sep 13 '20

Read Nginx Configuration File Using PHP - Phpflow.com

Thumbnail
phpflow.com
0 Upvotes

r/learnphp • • Sep 15 '20

Keep facebook login session with PHP puppeteer?

0 Upvotes

Hi everybody, I'm using puphpeteer which is a PHP bridge for node's puppeteer supporting the whole API, I will be scraping different facebook pages looking for some info, for this I have to login with my credentials and then go to targeted facebook page.

My objective is to ONLY LOG INONE TIME and than once logged, use facebook session/log in cookies to keep my session for subsequent urls, afaik this would be possible to do but I haven't found any examples on how to do this with PHP Puphpeteer.

Here is my code:

use Nesk\Puphpeteer\Puppeteer;
use Nesk\Rialto\Data\JsFunction;
use Nesk\Puphpeteer\Resources\ElementHandle;


public function scrapeFacebookForBirthdays()
    {
        $cookies = null;

        $puppeteer = new Puppeteer();
        $browser = $puppeteer->launch([ 'headless' => false, 'slowMo' => 250 ]);
        $browser->setUserAgent('Opera/9.80 (Windows NT 6.2; WOW64) Presto/2.12.388 Version/12.17');

        $page = $browser->newPage();

        
        //Check if cookies are set or not, if not set it means we have to log in ONCE, but HOW to cjeck for cookies, where to save them?
        if (!$cookies)
        {
            $page->goto("https://www.facebook.com/login", [ 'waitUntil' => "networkidle2" ]);
            $page->type("#email", $username, [ 'delay' => 30 ]);
            $page->type("#pass", $password, [ 'delay' => 30 ]);
            $page->click("#loginbutton");

            sleep(5);

            $page->waitForNavigation([ 'waitUntil' => "networkidle0" ]);

            try 
            {
                echo "success login";
                $page->waitFor('[data-click="profile_icon"]');
            }
            catch (Exception $e)
            {
                echo "failed to login";
                $browser->close();
            }

            //Where to save cookies for next url scrape??
            $cookies = $page->cookies();
        }
        else
        {
            //User Already Logged In
            $page->setCookie($cookies);
        }
    }

Thanks in advance!


r/learnphp • • Aug 21 '19

How to implement invisible Recaptcha?

0 Upvotes

Hi, developeronrent.com is my website and I want to implement invisible Recaptcha. Please help me out this. thanks


r/learnphp • • May 03 '21

how do you output the error logs?

0 Upvotes
root@be4d74a09e0f:/var/www/scripts# timeout -s9 1h php -d display_errors=1 display_startup_errors=1 error_reporting=E_ALL run-resource.php --host=www.pragma.com --resources=wp.plugins.PragmaFtp --lock=prag_ftp  2>&1 | tee /dev/tty1
Could not open input file: display_startup_errors=1

I was trying to output all the errors, but this command didn't work


r/learnphp • • May 05 '21

Run Event Sourcing Applications in PHP

Thumbnail
docs.ecotone.tech
0 Upvotes

r/learnphp • • Apr 12 '21

This doesn't seem to work?

0 Upvotes
timeout -s9 1h php -d memory_limit=2000M error_reporting="E_ALL" display_errors=1 display_startup_errors=1 ./script.php --max=5 --host=www.omega.com --lock=omegafile > debug.log

Is there anyway to make everything output to the log file?


r/learnphp • • Mar 12 '21

How is it possible to permanently add a row with data filled in on a form?

0 Upvotes

Hi

I have an empty table with columns and I can insert new rows but they dissappear on refresh how do I spend them to the table permanently so on refresh they stay there?

Thanks