Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.
Articles & Videos
PHP is a widely-used server-side scripting language especially suited for web development, powering tens of millions of sites from Facebook to personal WordPress blogs. PHP is often paired with the MySQL relational database, but includes support for most other mainstream databases. By utilizing different Server APIs, PHP can work on many different web servers as a server-side scripting language.
I am trying to implement use of a custom font with TCPDF. Our custom fonts can be found here: http://www.bertholdtypes.c
The font files are .otf files.
I am having a tough time trying to figure out my first join. What I am trying to do is,
I have a table for service providers and in there is an ID number for their selected physical location. I ha…
Here's a screenshot of my page:
I've got several categories on this page that you see in blue. To the right, I want to give the user the ability to "select all" the products that fall under tha…
I have this code to insert what was in my form to here, the data passes but it just doesnt add to my database, anyone know why?
I tried a connection to my database I get this error:
And when I googled it, it said mysql didnt start, so I went to start it in my cmd I got this error:
Any help on how to…
Hello experts, I am attempting to insert into two tables in the same database, one one button press. I am posting part of the code below. The two table names are UA_D_COUNTERS AND UAD_COUNTERS_TRX. W…
I'm trying to sort products by date. I set up a custom field called e_date, with a format of mm/dd/yyyy. But I can't get it to work.
There is also a custom field that comes with a ticket plugin ca…
Can anyone recommend a pre-made Web Form processing script that includes ability to upload a file (and uses Google Captcha would be awesome!)?
Right now I have one that uses PHP's MailSend (Not "Send…
I'm setting up a registration system that will allow our administrators to send out emails using PHPMailer. I'd like to track bouncebacks and remove bad email addresses. Is there a way to do this in…
When I send mail to a gmail account it is being marked as spam with PHPMailer
Is there an efficient way in PHP to assign arrayed variables to row variables? At the moment I'm doing something like this:
$rowForecasts[Day1Title] = $DayTitles
$rowForecasts[Day1Wx] = $D…
It won't add, it there any problem? I cant see any errors
This is my form before:
I use php and mysql database
I have a price table, which has price coloumn decimal(8,2),
when I select price from database, the output is like 1200.85
however I'd like to show it like 1,200.85 or 1…
Could you point a way to format this text returned by Json that is in horizontal way - in vertical way?
Produced by this code:
To present the same information in VERT…
Hello, I want to only allow an input if it satisfies the following, can you please advise on a suitable regex expression.
Less than or equal to 8 characters
Does not have a preceding or following …
Hi, I would like to create a test site. I found a hosting service that is providing me with an option that is within budget however they are only providing me with access to 25 "1 gigabyte MYSQL datab…
tell me all the php mail header choices and what they mean
I tried looking at links (php.net mail for example) that have 4 options such as mime type, bcc, cc
but need to know more options and …
I have set up an aws php/mysql/phpmyadmin environment under Elastic Beanstalk EC2/RDB.
The AWS file system:
My understanding is that browser users cannot get direct access to folders out…
I am just trying to delete a file using a static path for simplicity's sake. When I click delete for a certain entry, the database records delete but the file does not delete.
This is for an update function whereby the user can update certain aspects of their profile:
I have a database query that checks which categories have been selected when user initially chose them (…
What's the easiest way to strip leading 0 from a variable. I need to keep the 0 for the data, this is just for display.
If I query a user in Wordpress and I have custom fields and I return the meta value, how do I filter out the street_address when the return looks like this:
I have been using a php for five years with no problems. My webservice (Godaddy) migrated my shared account to a new service and the script is failing on the file_exists() and fopen() lines below. I …
Foreword In the years since this article was written, numerous hacking attacks have targeted password-protected web sites. The storage of client passwords has become a subject of much dis…
Introduction This article is very old, and while most of its principles are sound, PHP programming has changed a lot in the last decade. For that reason, I've updated this information in another arti…
McLean, VA, United States
40,506 points this week
Cape Town, South Africa
29,102 points this week
6,075 points this week
5,061 points this week
4,000 points this week