Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
defined
- Page 1
Paris Olympics Chatbot- Get Ticket Information Using Chat-GPT and LangChain
Programming
Computer Science
3 Weeks Ago
by usmanmalik57
… the `invoke()` method. You must pass values for the attributes
defined
in your prompt (`system` and `user` in our case). You…
Paris Olympics Ticket Information Chatbot with Memory Using LangChain
Programming
Computer Science
3 Weeks Ago
by usmanmalik57
… will also define `history_retriever_chain`, which takes the chat template we
defined
earlier and returns the matched document. The following script defines…
Using Natural Language to Query SQL Databases with Python LangChain Module
Programming
Computer Science
1 Week Ago
by usmanmalik57
… object and the query string to the `get_db_response()` function you
defined
earlier. In the following script, we retrieve information about the…
What criteria define the best digital marketing company?
Digital Media
Digital Marketing
2 Months Ago
by Jamesclerk241
The best digital marketing company is
defined
by several key criteria. Firstly, expertise in diverse digital channels, …
Converting PDF Image to CSV Using Multimodal Google Gemini Pro
Programming
Computer Science
2 Months Ago
by usmanmalik57
…. The following calls the `get_jpg_file_paths()` and `read_image()` functions that we
defined
earlier to read all the images in my input directory…
Htaccess Problem Url Friendly
Programming
Web Development
1 Month Ago
by Adolfo_1
…?slug=$1 [NC,L] **DINAMIC URL** work fine only with
defined
CONSTANT: Example <a href="<?php echo BASE_URL…
Re: import image from database image folder to pdf using fpdf
Programming
Web Development
2 Months Ago
by gottaloveit
it's complaining the index "gambarvk_image" is not
defined
on line 821 which is code we can't see. …
Re: Exploring the Intricacies of Network Topologies
Hardware and Software
Networking
2 Months Ago
by Dani
Your profile says you're a social media marketing manager. Soooooo why are you posting this? Is this AI-generated content? Is it a personal interest of yours?
Re: Track Faces from Videos with Margins Using Deep Learning in Python
Programming
Computer Science
2 Months Ago
by EdwardMatthew
It's fantastic, I have read this article and it is super amazing. thankyou for the knowledge.
Re: Fine-Tuning OpenAI Whisper Model for Audio Classification in PyTorch
Programming
Computer Science
2 Months Ago
by habi_2
how to use the best_model.pt
Re: What criteria define the best digital marketing company?
Digital Media
Digital Marketing
2 Months Ago
by MariaMorris
It's like this, short and very informative. Totally agree.
Re: Social Media is Very Interesting Media.
Digital Media
Digital Marketing
1 Month Ago
by KomalBhatt
Yes, Social media is really interesting media and we all can say it is the only platfrom that had led the easiest way to communicate with each otb=her easily however it has it's own pros and cons but connecting the world for that social media is one of a kind factor.
Re: Htaccess Problem Url Friendly
Programming
Web Development
1 Month Ago
by Dani
I suppose I’m not properly understanding your question. Do you mean when you go to the URL in your browser localhost/mysite/readlex.php?slug=Le-mura-di-Lucca it doesn’t load, but when you go to the rewritten URL it works fine?
Re: Htaccess Problem Url Friendly
Programming
Web Development
1 Month Ago
by Adolfo_1
NO! I meant that URL loads but not friendly I have to put these STATIC URLs inside the text retrieved from the database as I cannot insert php strings. Example from database example that htaccess makes unfriendly : <em><a href="../read-lex.php?slug=Provvedimento-di-sospensione-Trib-Cagliari">Vedi SENTENZA&…
Re: Htaccess Problem Url Friendly
Programming
Web Development
1 Month Ago
by Dani
I apologize that I still am misunderstanding you. I'm confused what you mean by "example from database", because it seems your question is about htaccess and PHP. I'm confused what is being retrieved from the database In your second example, what are the values of BASE_URL and READ_LEX? Additionally, your .htaccess file said …
Re: Htaccess Problem Url Friendly
Programming
Web Development
1 Month Ago
by Adolfo_1
I apologize because I am unclear. Difference between readlex and read_lex is my mistake Your htaccess example is right except that it doesn't work for me and I don't understand. Summary: In <head> I have this php: define("BASE_URL", "http://localhost/mysite/"); if($mod_rewrite == 'Off') { …
Re: Htaccess Problem Url Friendly
Programming
Web Development
1 Month Ago
by Dani
> In <head> I have this php: I see you have on line 3 `if($mod_rewrite == 'Off') {`. Where do you set the value of `$mod_rewrite`? How do you tell if it's Off or On? > Which I then recall in this link and htaccess works fine: Again, where do you set the values for `BASE_URL`? > The same link without Constant PHP: What …
Re: Htaccess Problem Url Friendly
Programming
Web Development
1 Month Ago
by Dani
I also think the problem is that with mod_rewrite on, READ_LEX begins with / and with mod_rewrite off, READ_LEX *ends* with /. Is the value of BASE_URL set to http://localhost/mysite or http://localhost/mysite/ ? You might be ending up with a URL that looks like http://localhost/mysitereadlex/slug instead of http://localhost/mysite/readlex/…
Re: Htaccess Problem Url Friendly
Programming
Web Development
1 Month Ago
by Adolfo_1
> Where do you set the value of $mod_rewrite? I set On-Off $mod_rewrite in database from Dashboard Admin. Now is always ON. > Again, where do you set the values for BASE_URL? In Admin config.php // Defining base url define("BASE_URL", "http://localhost/mysite/"); > What do you mean by '…
Re: Htaccess Problem Url Friendly
Programming
Web Development
1 Month Ago
by Adolfo_1
I expressed it badly. They are both dynamics. But: href="<?php echo BASE_URL.READ_LEX ?>Provvedimento-di-sospensione-Trib-Cagliari" // result = localhost/mysite/readlex/Provvedimento-di-sospensione-Trib-Cagliari href="localhost/mysite/readlex.php?slug=Provvedimento-di-sospensione-Trib-Cagliari" // …
Re: Htaccess Problem Url Friendly
Programming
Web Development
1 Month Ago
by Dani
Isn't that expected behavior?
Re: Htaccess Problem Url Friendly
Programming
Web Development
1 Month Ago
by Adolfo_1
Solved the problem with this htaccess in mode rewrite ON But I don't understand why. I have to enter friendly url directly href="<?php echo BASE_URL.READ_LEX ?>Provvedimento-di-sospensione-Trib-Cagliari" // OK result = localhost/mysite/readlex/Provvedimento-di-sospensione-Trib-Cagliari href="…
Re: Htaccess Problem Url Friendly
Programming
Web Development
1 Month Ago
by Adolfo_1
Thank you for your patience
Re: Htaccess Problem Url Friendly
Programming
Web Development
1 Month Ago
by Dani
The .htaccess makes the URL accessible from a friendly URI. However, it does not change any of your HTML code for you. You will still need to modify all of your HTML code to link to the new friendly URI instead of the original URL.
Re: Question: Is an asp.net application multi user defined
Programming
Web Development
13 Years Ago
by Lusiphur
Defined
session states (or equivalents) can add more direct control on …
Chnage button text onsubmit or onclick
Programming
Web Development
14 Years Ago
by masocha
defined
('_JEXEC') OR
defined
('_VALID_MOS') OR die('...Direct Access class aca_module [ var $shownamefield = 0; …
Re: Limit on Integer 2-dimensional arrays?
Programming
Software Development
14 Years Ago
by halluc1nati0n
Defined
my array globally and it worked! :) Kudos to ya guys!
Re: Thoughts Of The Day.
Community Center
Geeks' Lounge
11 Years Ago
by codeorder
##
Defined
by Nothing other than Love,... ##
Re: Values not being assigned
Programming
Software Development
10 Years Ago
by Nandomo
defined
in the same class. foreach (DailyPrices p in dailyList) { if (…
Re: Sum of even numbers in an array
Programming
Software Development
8 Years Ago
by gemsvidhi
Defined
the array 1 to 2 array dimentional .
1
2
3
17
Next
Last
Search
Search
Forum Categories
Hardware/Software
Programming
Digital Media
Community Center
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Meet People
Forums
Top Members
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2024 DaniWeb® LLC