Posts by HBretone • 815 points
21 posts
-
1
votes1
answer57
viewsQ: Apply two functions to . htaccess
I don’t quite understand the . htacces, but I use it to force the navigation of my site to the https, now I’m trying to implement a code to remove the .html but when I put the two together it…
-
7
votes1
answer82
viewsQ: How important is it really to validate codes by W3C?
I understand that validating code can be important and mainly help those who are starting to correct errors and be more informed about obsolete elements in current language versions. But how much…
-
8
votes4
answers3636
viewsQ: Input date to disable the next 7 days from the current date
In a date input, how can I disable the next 7 days from the current day in the calendar? I know with JS I can do a function to disable the days before the current one with the min parameter, but how…
-
23
votes3
answers599
viewsQ: Is mixing HTTP with HTTPS a problem?
On my website I am using links normal HTTP, but where it contains data transaction, as in forms, for example, use HTTPS which is from a shared SSL certificate provided by my hosting server. I don’t…
-
2
votes2
answers4123
viewsQ: How to make google reCAPTCHA mandatory "required"
Well, I implemented google reCAPTCHA in the forms of my site, working normal, but it is possible to send the forms without selecting the captcha, as I make it a mandatory field before Submit as a…
-
3
votes2
answers234
viewsQ: Reset an option-based Select
How could I do to reset a value of a select based on the option of another select, for example I have these two check boxes, when the "View" option is checked I would like to reset the value of…
-
0
votes1
answer26
viewsQ: Phpmailler Attachment with Tmp name
I have the following code in PHP, using Phpmailer to send by email files of a multiple upload, is working the problem is that in the email the name of the files is with the name of the folder tmp…
-
1
votes1
answer48
viewsQ: Page in several languages
How are pages made that are available in multiple languages? They are actually multiple HTML pages linked handmade in different languages or have some form for it? I’m making a simple website for…
-
0
votes1
answer376
viewsQ: Save Image Coming from Upload in a PHP variable
How to capture an image that comes from an HTML file type input, in a PHP variable? For example with a text input works this way: $vnome = ($_POST["f_nome"]); echo $vnome; <input type="text"…
-
1
votes1
answer923
viewsQ: PHP Store Image in variable
Is it possible to store an image in a PHP variable (take it by "POST" method) and then use it to call the image elsewhere? Just like it is done with Strings coming from HTML input.
-
0
votes1
answer373
viewsQ: Javascript Calculate Portion of a value coming from checkboxs
I have here a code for when checkboxs are selected add a value to a label, and another code for the user to enter in an input the total value and select the number of installments for the operation…
-
0
votes2
answers276
viewsQ: PHP mkdir folders with the same name
How to do when creating a directory with mkdir it does not replace if there is one with the same name, keep the two folders with the same name or with some auto-increment to number the folders?…
-
1
votes1
answer948
views -
1
votes1
answer80
viewsQ: Currency formatting
I have the following script in my HTML, what it does is simply check a checkbox if it is selected or not and in case it is adding a value, my question is, how to make this value be formatted in…
-
0
votes1
answer1582
viewsQ: How to create directory and upload file
Well I am with the following doubt, it is possible to create a directory with mkdir and in the same PHP code insert uploads files in this created directory? For example I have a form where I receive…
-
2
votes1
answer35
viewsQ: Multiple Upload Thumbnail
I have a field to upload PDF documents, when attaching a document appears the PDF icon, but I am using multiple upload and only an icon appears when ideally it would appear an icon for each attached…
-
1
votes1
answer33
viewsQ: Upload Thumbnail
I have an upload field in a form HTML, I wonder if it is possible to place a predefined Thumb, with uploads of images I know you can do a Thumb displaying the image being placed, but for example, if…
-
2
votes0
answers1046
viewsQ: PHP encoding problem, PDF file character error
Well I’m with a problem that apparently is not very unusual, I’ve seen some similar questions and none of the answers helped me. I have a form HTML where the information entered in it is being…
-
11
votes6
answers630
viewsQ: Is there a problem compressing CSS?
I’ve been noticing that some sites have compressed CSS, I believe this only serves to load pages faster, do you have any risk in doing this? because there are some sites that use normal CSS, I…
-
11
votes1
answer886
viewsQ: Is Perl used nowadays?
Well, I see little about Perl and I don’t know much about the language, it is still used nowadays and can replace some other language like PHP or Ruby? I don’t know exactly what Perl does but as I…
-
2
votes2
answers880
viewsQ: PHP Generating PDF
Well I have a problem in a form, basically I am taking the information of an HTML form with the POST method for a PHP page, I need to generate a pdf from this form and I managed to do this with mPDF…