-
Posts
2,134 -
Joined
-
Last visited
-
Days Won
42
Posts posted by benanamen
-
-
I give up. You cannot even answer a simple question.
and believe me, the logic of it is the right one
And no, I don't believe you. My 20+ years as a Software Engineer tell me that whatever you're trying to accomplish, your doing it wrong. Good luck!
-
You seem to have missed the whole XY Problem thing. I don't care about your attempted solution. What is the overall thing that is to be accomplished. What is the REAL problem you are trying to solve, not how you are trying to solve it. Your code and arrays are completely meaningless to my question.
-
You are using obsolete insecure code that has been completely removed from Php. You need to be using PDO. Update your code and we will be happy to help.
-
How about telling us what the overall task is so we can avoid the obvious XY problem. (See my signature)
-
You are using obsolete insecure Mysql code that has been completely removed from Php. Your code is also vulnerable to an SQL Injection Attack. There is no fixing your code. You need to use PDO with prepared statements.
-
Hi benanamen,
Have you had any success with setting up node.js per How to Manage Your CSS and JS ?
Doesn't work for me, and npm install results in the following error:
npm ERR! Error: No compatible version found: webpack@'>=2.1.0-beta.15 <=2.1.0--beta.22'
I just finished this video. I did not have this problem. Did you find out why you did?
-
In the currrent version of Laravel Blade has changed a bit from what the tutorial on Layout Files shows at https://laracasts.com/series/laravel-5-from-scratch/episodes/5?autoplay=true
Take note of @show in the current version. Took me awhile to figure out there was changes from the video. Video instructions work, but again, not the current way of Blade Templating. Just reference the 5.3 docs here https://laravel.com/docs/5.3/blade
-
I have not got there yet.
Keep in mind, those Laracasts are for an older version of Laravel.
-
Did you find solution for this problem?
Or did you fin some other CMMS?
It's been almost 5 years since the Op posted that. Pretty sure he has moved on and so should you. Don't bump threads that are eons old.
-
* Partial Quote
There is quite a lot that you will probably need in order for your database to segment these resellers.
I think it's a bit naive to assume that you will be able to repurpose your existing site and its codebase into a SaaS solution, ......
This question is too large and open ended to be answered here in anything but vague generality. It's really not what this community exists to do -- we are more focused on specific questions about php, database and web development, and the scope of your question is too general and business specific.
I agree with @gizmola. You are not going to be able to re-purpose your existing site and scale it. You need to "blueprint" the whole thing out before you even write a single line of code. Doing an Enterprise level application is a whole lot different than doing a single site/company app. Right now, you don't know what you don't know.
-
Yea, Laravel does all the work and authorization is easy, however, it still seems a little magical to me. I found it helpful to git the directory so I can see what files Laravel is changing when I do things such as php artisan make:auth
For sure! I was thinking, "Is this all there is to Authentication?". I also am going to git for exactly the same reason. The more I study Laravel, the more I am liking it.
-
You can use a Mysql View to map the columns.
-
You said you have been working on the site for the past 7 years. That leads me to believe your code is probably outdated. Are you using Mysqli or PDO? If you're still using the obsolete mysql_* code, then you have even more work to do before you think about implementing your idea.
You might want to consider posting your DB schema for us to review. If the DB design is flawed, that would be another thing to take care of before implementing something bigger.
-
After consulting with the OP offsite, the solution to his XY problem is wget -i file_of_urls.txt
-
Still not right. You can check it yourself using this online tool
-
You need to set expose_php = off and then restart Apache.
-
I have verified you have fixed the Clickjacking.
You still need to handle the X-POWERED-BY. I should not even be able to see what version your Php is.
-
Give me your Skype.
-
Auth is really simple. There are only a few steps. Do this quick tutorial on Auth and see if it answers your questions. I am still learning this.
http://www.hc-kr.com/2016/09/laravel-5-authentication-login-registration-form.html
The Laracasts are really good, but were for a bit older version so some things are slightly different such as routes.php not existing in the current version. (Now routes/web.php). I suggest you just go through these videos step by step and then see if you are left with any questions at the end.
-
I am available. The site wont let me PM you.
-
You are using obsolete insecure code that has been completely removed from Php. You need to be using PDO. Update your code and we will be happy to help.
-
Before you do anything you might want to secure your server better. You are running an outdated version of Php and your site is vulnerable to a Clickjacking Attack.
-
For starters, when you are naming columns like some_column1, some_column2 etc, you are already heading the wrong direction. Look up and learn Database Normalization.
-
Route groups allow you to share route attributes, such as middleware or namespaces, across a large number of routes without needing to define those attributes on each individual route. Shared attributes are specified in an array format as the first parameter to the Route::group method.
You can read about middleware here https://laravel.com/docs/5.3/middleware
As far as when I was doing the Auth, sending emails either locally or through Gmail was very, very simple.
PHP help need urgently
in PHP Coding Help
Posted
You have several other problems that have not been mentioned.
1. if(isset($_POST['submit'])) SHOULD BE if ($_SERVER['REQUEST_METHOD'] == 'POST')
2. You are using the obsolete <center> tag. On top of that, you are missing several closing </center> tags. You should be using CSS.
3. You are missing several closing </td> tags. If you used a proper IDE with syntax highlighting you would have seen that.
4. Using a <table> for formating went out in the 90's. Again, you need to use CSS
5. You need to use Prepared Statements
6. You have your closing </form> completely split in the logic from your <form>
7. Having two submit checks is redundant and completely unnecessary
8. You need to use htmlentities on your DB output.
9. You are missing numerous basic html tags. Doc type, body...etc..
10. It's pretty clear you need to take some time and learn the basics before trying to move forward.