Skip to main content
Best practices
1 vote
4 replies
53 views

firstly I will thanks for anyone whom make an effort to help resolving some codes in this forum. I have a operation logic to do in two simples steps into a input value. For me it's like a input ...
Israel's user avatar
  • 1
2 votes
2 answers
80 views

I have a php shell script that runs at scheduled intervals via launchd. The script has a 2 minute php timeout, but I understand that time spend in curl_exec( ) doesn't count towards that. But I also ...
l008com's user avatar
  • 1,776
Best practices
0 votes
4 replies
77 views

<?php include "./db_functions.php"; $method = $_SERVER["REQUEST_METHOD"]; $uri = parse_url($_SERVER["REQUEST_URI"], PHP_URL_PATH); $uri = explode("/", $...
cheater Mr's user avatar
Best practices
0 votes
5 replies
73 views

<?php // get data or modify data function getData($sql){ $db = new mysqli("localhost", "root", "", "database"); if($db->...
cheater Mr's user avatar
1 vote
1 answer
47 views

I’m working on a CodeIgniter (PHP) app with a 2-stage batch process: Cron 1 (syncAndPrepareQRTokens) sync eligible members to member_benefits generate qr_code_token Cron 2 (execute) generate PDF + ...
shamini nirodya's user avatar
Best practices
4 votes
1 replies
53 views

php.net site write: NTS builds are for single-threaded use cases, typically PHP running via FastCGI or on the CLI. TS builds support multithreaded SAPIs and are intended for PHP loaded as a web ...
Otomatic's user avatar
  • 389
-2 votes
0 answers
63 views

This is a part of my code: $content_type = curl_getinfo($ch, CURLINFO_CONTENT_TYPE); fwrite($file, $content_type); if(strpos($content_type, "text/html") === false) { // do some things } .....
user3565412's user avatar
Best practices
2 votes
14 replies
212 views

To practice php I created a login system that only works for 1 user, and if you type in the wrong username/password it will kick you out. If you type the right one it sends you to a devtools.php. I'm ...
Krombopulos Michael's user avatar
Advice
4 votes
6 replies
86 views

I finished coding my project, but it requires a dashboard. What should I do? Should I create a separate repository or project for the admin dashboard, or use a monorepo?
AB_ OBADA 's user avatar
Best practices
3 votes
5 replies
130 views

fellow developers! I’ve been working on web development projects using PHP Native for backend and Vanilla JavaScript for frontend. Sometimes, I notice that my web pages take a noticeable time to ...
xss1nab3ast's user avatar
-1 votes
1 answer
138 views

I am writing a simple web-app to display flashcards using PHP, SQL and HTML. To show the cards currently created I have a page called view_cards.php which loads with a query string comprising the ...
Rene Thomas's user avatar
-4 votes
2 answers
73 views

I have some text like this: Lorem ipsum THIS dolor sit THIS amet, consectetur THIS adipiscing elit. and it needs to be like this: Lorem ipsum THIS1 dolor sit THIS2 amet, consectetur THIS3 adipiscing ...
Peter Struyk's user avatar
1 vote
2 answers
92 views

I have successfully implemented a tabbed pane design with collapse for small screens. On one of the panes I would like to include a button which toggles to another pane. I have tried unsuccessfully ...
pcla56's user avatar
  • 33
-1 votes
1 answer
107 views

How does one make reflinks in PHP? I found symlink() to make symlinks, and link() to make hardlinks, but I don't see any reflink function.
hanshenrik's user avatar
  • 22.6k
Advice
0 votes
1 replies
54 views

I am working on a fairly large project, and have a lot of components. Those components are grouped in folders like so: - views - components - bootstrap - navbar - navbar.blade.php ...
HubertNNN's user avatar
  • 2,260

15 30 50 per page
1
2 3 4 5
97566