Posts by Ruhan O.B • 63 points
7 posts
-
0
votes1
answer250
viewsA: Check if file exists through . htaccess URL
I found the solution to my problem and I will share here. RewriteCond %{DOCUMENT_ROOT}/temas/paginas/$1\.php -f [NC] RewriteRule ^(.*)$ /temas/paginas/$1\.php [L] In my case I needed to check if a…
-
0
votes1
answer250
viewsQ: Check if file exists through . htaccess URL
I have the following situation, I need to check if a particular file exists, based on the URL I am trying to access, if it exists displays normally, otherwise redirects to an error page. For…
-
0
votes2
answers409
viewsA: SELECT AND UPDATE - Undefined index when submitting form
This problem is occurring because the first time you call the script you are passing the country id through the attribute edit in the URL, but when calling the script again to update the data, in…
-
2
votes1
answer447
viewsA: How to transform string into array
You can use basic string handling functions. Use the function str_replace() to remove the parentheses, and some undesirable spaces after the comma, leaving only the values. Then use the function…
-
0
votes2
answers1276
viewsQ: Integration boleto Itau Shopline in PHP
I’m trying to develop an integration with the Itau Shopline online ticket system in PHP, but every time I send the data to the communication URL I receive a page with this message: Encryption…
-
0
votes1
answer52
viewsQ: How to create a sustainable software framework
I am developing a web system, and this system will be provided to different clients, it turns out that this system should be possible to do some customizations, but should maintain a core that is…
-
0
votes1
answer436
viewsQ: How to perform asynchronous tasks in PHP?
I have a simple virtual shop system, where the customer places an order for certain products and the system records this, at the moment the customer logs the order the system sends an email message…