-
Notifications
You must be signed in to change notification settings - Fork 72
Vako Janikashvili - Week 1 - home work #77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
vaaakoo
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no change
| $imageFileType = pathinfo($new_file,PATHINFO_EXTENSION); | ||
| move_uploaded_file($_FILES["uploadfile"]["tmp_name"], $new_file); | ||
|
|
||
| echo '<img src="'.$new_file.'" />'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
სალამიი, კითხვა მაქვს, php-ით html ელემენტის გამოტანის მაგივრად, უკეთესი ხო არ იქნებოდა, პირიქით გაკეთება html-ის ელემენტში php variable-ის გამოტანა
|
|
||
|
|
||
| $alpha = "/^[a-zA-z]+$/"; | ||
| $fname = $_POST['fname']; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
input-ების წამოღება დიდი ალბათობით if(isset($_POST['submit'])-ამდე ერორს მოგცემს
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
გამარჯობა,
ვცადე და ერორს არ მაძლევს, რამე ერორის კოდი დავამატე ჯობს?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
იდეაში პოსტის შემოწმების გარეშე, წესით დასაბმითებამდე ყოველთვის ცარიელ მონაცემს მოგცემს, შეგიძლია თუ სურვილი გექნება ეს ნაწილიც if(isset($_POST['submit'])) ამის ქვეშ შეიტანო, ეგ მოგცემს რომ input ფილდიდან ველიუს მხოლოდ დასაბმითების მერე წამოიღებ
No description provided.