Coding a Link Shortener (PHP)

Coding a Link Shortener (PHP)

Marc Hinton

7 лет назад

16,961 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Hardik Acharya
Hardik Acharya - 28.10.2020 20:49

what about init.php file?

Ответить
Giorgio Pino
Giorgio Pino - 23.10.2020 04:10

Fatal error: Call to undefined function idExists() in /membri/urls/short/includes/process.php on line 8 why???

Ответить
JAI BROTHERS
JAI BROTHERS - 09.08.2020 06:06

i donot have php how to do with html

Ответить
aravind abilash
aravind abilash - 15.11.2019 12:57

Works without an issue. Thanks for the video

Ответить
Hardik Dua
Hardik Dua - 08.11.2019 06:29

Can anyone show me his code of init.php

Ответить
S G
S G - 06.08.2019 22:38

this is not short

Ответить
AbonixGaming
AbonixGaming - 27.04.2019 09:19

you should of used the auto increment for the id instead of the random ID generator

Ответить
Gary Wasylenko
Gary Wasylenko - 28.02.2019 16:14

Thank you for the tutorial. Do you have an expanded version for link click tracking and/or including a QR code?

Ответить
Amal Gheevarghese
Amal Gheevarghese - 16.02.2019 11:20

How can we mix letters and numbers in id.

Ответить
RazerSlayer
RazerSlayer - 23.12.2018 21:56

i want a url shortener as a program but i can't find one

Ответить
Saffan Khan
Saffan Khan - 19.12.2018 08:24

Hey marc how to make init.php to connect to our database...plz help!!

Ответить
Gowtham
Gowtham - 20.11.2018 20:08

Hey marc can you please suggest any way to create init. php

Ответить
Anselminos
Anselminos - 30.10.2018 20:22

i found a 4chr long url

Ответить
AlexTechie
AlexTechie - 03.10.2018 12:16

I'm trying to generate unique file names for image hosting and, while trying to think of a solution, I remembered this video. I just wanted to mention that this is a flawed method. As your shortened URL entries grow, you will start getting duplicates and your overhead will increase exponentially. Don't take this as a critique or anything. In fact, I'm still searching for a solution for generating unique file names / strings every time without having to check for duplicates. Just thought I'd give you and your viewers a heads up.

Ответить
Alistair McIntyre
Alistair McIntyre - 03.05.2018 23:24

This is a great tutorial. I actually built a url shortener a while back and you have certainly covered most of the points here. I like your coding style! A shortener is quite a simple sounding project but there are quite a few hurdles along that way.

Ответить
Luke
Luke - 03.05.2018 06:31

there is no init.php file in the download and you never show how to make one in the video

Ответить